1
0
forked from GitHub/gf-core

Move transfer into the GF repo.

This commit is contained in:
bringert
2005-11-25 16:36:19 +00:00
parent 66c1c31960
commit 2a59fffd45
42 changed files with 7400 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
data Bool : Type where { True : Bool; False : Bool; } ;
depif : (A:Type) -> (B:Type) -> (b:Bool) -> A -> B -> if Type b then A else B ;
depif _ _ True x _ = x ;
depif _ _ False _ y = y ;
not : Bool -> Bool ;
not b = if b then False else True ;