Idris2/tests/idris2/with003/input
2020-05-22 20:26:10 +02:00

10 lines
337 B
Plaintext

do printLn "foo"; printLn "boo"; map (+1) (printLn "woo"); printLn "goo"; printLn "foo"
with Prelude.(>>=) do printLn "foo"; printLn "boo"; map (+1) (printLn "woo"); printLn "goo"; printLn "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