Idris2/tests/idris2/with003/expected

84 lines
2.4 KiB
Plaintext
Raw Normal View History

2020-05-22 21:26:10 +03:00
1/1: Building Main (Main.idr)
Main> (interactive):1:60--1:73:Sorry, I can't find any elaboration which works. All errors:
If Prelude.>>=: Sorry, I can't find any elaboration which works. All errors:
If Prelude.>>=: When unifying ?_ -> IO () and IO ?b
Mismatch between:
?_ -> IO ()
and
IO ?b
2020-06-11 23:46:36 +03:00
at:
1 do printLn "foo"; printLn "boo"; map (+1) (printLn "woo"); printLn "goo"; printLn "foo"
^^^^^^^^^^^^^
2020-05-22 21:26:10 +03:00
If Main.Other.>>=: When unifying ?_ -> IO () and IO ?b
Mismatch between:
?_ -> IO ()
and
IO ?b
2020-06-11 23:46:36 +03:00
at:
1 do printLn "foo"; printLn "boo"; map (+1) (printLn "woo"); printLn "goo"; printLn "foo"
^^^^^^^^^^^^^^^^^^^^^^^^
2020-05-22 21:26:10 +03:00
If Main.Other.>>=: Sorry, I can't find any elaboration which works. All errors:
If Prelude.>>=: When unifying ?_ -> IO () and IO ?b
Mismatch between:
?_ -> IO ()
and
IO ?b
2020-06-11 23:46:36 +03:00
at:
1 do printLn "foo"; printLn "boo"; map (+1) (printLn "woo"); printLn "goo"; printLn "foo"
^^^^^^^^^^^^^^^^^^^^^^^^
2020-05-22 21:26:10 +03:00
If Main.Other.>>=: Sorry, I can't find any elaboration which works. All errors:
If Prelude.>>=: When unifying ?_ -> IO () and IO ?b
Mismatch between:
?_ -> IO ()
and
IO ?b
2020-06-11 23:46:36 +03:00
at:
1 do printLn "foo"; printLn "boo"; map (+1) (printLn "woo"); printLn "goo"; printLn "foo"
^^^^^^^^^^^^^
2020-05-22 21:26:10 +03:00
If Main.Other.>>=: When unifying ?_ -> IO () and IO ?b
Mismatch between:
?_ -> IO ()
and
IO ?b
2020-06-11 23:46:36 +03:00
at:
1 do printLn "foo"; printLn "boo"; map (+1) (printLn "woo"); printLn "goo"; printLn "foo"
^^^^^^^^^^^^^^^^^^^^^^^^
2020-05-22 21:26:10 +03:00
2020-06-11 23:46:36 +03:00
Main> (interactive):1:57--1:62:Can't find an implementation for Num () at:
1 with Prelude.(>>=) do printLn "foo"; printLn "boo"; map (+1) (printLn "woo"); printLn "goo"; printLn "foo"
^^^^^
Main> (interactive):1:4--1:6:Ambiguous elaboration at:
1 :t []
^^
Possible correct results:
2020-05-22 21:26:10 +03:00
[]
[]
[]
Main> [] : Vect 0 ?elem
Main> [] : List ?a
Main> (interactive):1:34--1:41:When unifying Vect 0 ?elem and List ?a
Mismatch between:
Vect 0 ?elem
and
List ?a
2020-06-11 23:46:36 +03:00
at:
1 :t with [Vect.Nil, Prelude.(::)] [1,2,3]
^^^^^^^
2020-05-22 21:26:10 +03:00
Main> the (Maybe Integer) (pure 4) : Maybe Integer
Main> Parse error: Unrecognised command (next tokens: [identifier t, with, symbol [, symbol ], literal 4, end of input])
Main> Bye for now!