add examples
This commit is contained in:
9
eg/ex.newt
Normal file
9
eg/ex.newt
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
module Ex
|
||||||
|
|
||||||
|
data Bool : Type where
|
||||||
|
True : Bool
|
||||||
|
False : Bool
|
||||||
|
|
||||||
|
id : a -> a
|
||||||
|
id = \ a => a
|
||||||
|
|
||||||
Reference in New Issue
Block a user