cleaning duties
This commit is contained in:
@@ -78,10 +78,14 @@ facExample = [coreProg|
|
||||
main = fac 3;
|
||||
|]
|
||||
|
||||
pairExample = [coreProg|
|
||||
pairExample1 = [coreProg|
|
||||
main = fst (snd (fst (MkPair (MkPair 1 (MkPair 2 3)) 4)));
|
||||
|]
|
||||
|
||||
pairExample2 = [coreProg|
|
||||
main = (if# False fst snd) (MkPair 2 3);
|
||||
|]
|
||||
|
||||
corePrelude :: Module
|
||||
corePrelude = Module (Just ("Prelude", [])) $ Program
|
||||
[ ScDef "id" ["x"] $ "x"
|
||||
|
||||
Reference in New Issue
Block a user