diff options
author | 2010-12-14 09:37:23 -0500 | |
---|---|---|
committer | 2010-12-14 09:37:23 -0500 | |
commit | 1f45469eace715b013c9075be3102b8eaa4e4f9c (patch) | |
tree | 6fd3e92f74d83fe16605d3486be39cee2d03a538 /lib/ur/mem.urs | |
parent | d748d2eb08af600eacc02e5b9a14e4aad1c7d0ac (diff) |
Moving Incl and Mem to Meta library
Diffstat (limited to 'lib/ur/mem.urs')
-rw-r--r-- | lib/ur/mem.urs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/ur/mem.urs b/lib/ur/mem.urs deleted file mode 100644 index 78021823..00000000 --- a/lib/ur/mem.urs +++ /dev/null @@ -1,13 +0,0 @@ -con mem :: K --> Name -> K -> {K} -> Type - -val mem : K --> nm :: Name -> t :: K -> r :: {K} -> [[nm] ~ r] => mem nm t ([nm = t] ++ r) -val mp : K --> K2 --> f :: (K -> K2) -> nm ::: Name -> t ::: K -> r ::: {K} -> mem nm t r -> mem nm (f t) (map f r) - -val proj : nm ::: Name -> t ::: Type -> r ::: {Type} -> mem nm t r -> $r -> t -val replace : nm ::: Name -> t ::: Type -> r ::: {Type} -> mem nm t r -> $r -> t -> $r - -val fold : K --> tf :: ({K} -> Type) -> r ::: {K} - -> (nm :: Name -> v :: K -> r' :: {K} -> [[nm] ~ r'] - => mem nm v r -> tf r' -> tf ([nm = v] ++ r')) - -> tf [] - -> folder r -> tf r |