mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 20:23:11 +03:00
17 lines
166 B
Idris
17 lines
166 B
Idris
0
|
|
foo : (0 b : Bool) -> Bool
|
|
foo b = b
|
|
|
|
0
|
|
bar : Bool
|
|
bar = q
|
|
where
|
|
q : Bool
|
|
q = foo True
|
|
|
|
0
|
|
baz : Bool
|
|
baz = let q : Bool
|
|
q = foo True in
|
|
q
|