mirror of
https://github.com/anoma/juvix.git
synced 2024-12-12 14:28:08 +03:00
17 lines
264 B
Plaintext
17 lines
264 B
Plaintext
module M;
|
|
|
|
import Data.Nat open;
|
|
import Data.Maybe open;
|
|
import Data.Product open;
|
|
import Data.Bool open;
|
|
import Data.Ord open;
|
|
|
|
f : Bool -> Bool
|
|
| x := x;
|
|
|
|
g : {A : Type} -> A -> Bool -> Bool
|
|
| x y := f y;
|
|
|
|
h : {A : Type} -> A -> Maybe Bool
|
|
| x := nothing;
|