mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 20:23:11 +03:00
a972778eab
They don't all pass yet, for minor reasons. Coming shortly... Unfortunately the startup overhead for chez is really noticeable here!
15 lines
253 B
Idris
15 lines
253 B
Idris
bools : List Bool
|
|
bools = [True, False]
|
|
|
|
main : IO ()
|
|
main = printLn $ or (map id bools)
|
|
|
|
main2 : IO ()
|
|
main2 = printLn $ or (map (\x => x) bools)
|
|
|
|
main3 : IO ()
|
|
main3 = printLn $ or (map (\x => Delay x) bools)
|
|
|
|
main4 : IO ()
|
|
main4 = printLn $ or bools
|