Changed all example programs to use layout syntax.

This commit is contained in:
bringert
2005-11-28 21:45:22 +00:00
parent 5a82068ddc
commit 02c23401a7
10 changed files with 83 additions and 90 deletions

View File

@@ -1,5 +1,5 @@
const : (A:Type) -> (B:Type) -> A -> B -> A ;
const _ _ x _ = x ;
const : (A:Type) -> (B:Type) -> A -> B -> A
const _ _ x _ = x
id : (A:Type) -> A -> A ;
id A x = x ;
id : (A:Type) -> A -> A
id _ x = x