Added .crf to every sample-program
This commit is contained in:
parent
9ea3a3dc56
commit
ccfae19541
10 changed files with 23 additions and 23 deletions
10
sample-programs/basic-7.crf
Normal file
10
sample-programs/basic-7.crf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
data Bool () where {
|
||||
True : Bool ()
|
||||
False : Bool ()
|
||||
};
|
||||
|
||||
ifThenElse : forall a. Bool () -> a -> a -> a;
|
||||
ifThenElse b if else = case b of {
|
||||
True => if;
|
||||
False => else
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue