mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-18 16:51:51 +03:00
d12487f529
Also updates the Prelude and some base libraries to use HasIO rather than using IO directly.
10 lines
357 B
Plaintext
10 lines
357 B
Plaintext
do myPrintLn "foo"; myPrintLn "boo"; map (+1) (myPrintLn "woo"); myPrintLn "goo"; myPrintLn "foo"
|
|
with Prelude.(>>=) do myPrintLn "foo"; myPrintLn "boo"; map (+1) (myPrintLn "woo"); myPrintLn "goo"; myPrintLn "foo"
|
|
:t []
|
|
:t with Vect.Nil []
|
|
:t with Prelude.Nil []
|
|
:t with [Vect.Nil, Prelude.(::)] [1,2,3]
|
|
:t with pure the (Maybe _) (pure 4)
|
|
:t with [] 4
|
|
:q
|