mirror of
https://github.com/anoma/juvix.git
synced 2024-12-01 00:04:58 +03:00
13 lines
184 B
Plaintext
13 lines
184 B
Plaintext
|
module Iterators3;
|
||
|
|
||
|
map : {A B : Type} → (A → B) → A → B;
|
||
|
map f x := f x;
|
||
|
|
||
|
builtin bool
|
||
|
type Bool :=
|
||
|
| true : Bool
|
||
|
| false : Bool;
|
||
|
|
||
|
main : Bool;
|
||
|
main := map (x in true) x;
|