mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-18 16:51:51 +03:00
84 lines
2.4 KiB
Plaintext
84 lines
2.4 KiB
Plaintext
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
|
|
at:
|
|
1 do printLn "foo"; printLn "boo"; map (+1) (printLn "woo"); printLn "goo"; printLn "foo"
|
|
^^^^^^^^^^^^^
|
|
|
|
|
|
If Main.Other.>>=: When unifying ?_ -> IO () and IO ?b
|
|
Mismatch between:
|
|
?_ -> IO ()
|
|
and
|
|
IO ?b
|
|
at:
|
|
1 do printLn "foo"; printLn "boo"; map (+1) (printLn "woo"); printLn "goo"; printLn "foo"
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
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
|
|
at:
|
|
1 do printLn "foo"; printLn "boo"; map (+1) (printLn "woo"); printLn "goo"; printLn "foo"
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
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
|
|
at:
|
|
1 do printLn "foo"; printLn "boo"; map (+1) (printLn "woo"); printLn "goo"; printLn "foo"
|
|
^^^^^^^^^^^^^
|
|
|
|
|
|
If Main.Other.>>=: When unifying ?_ -> IO () and IO ?b
|
|
Mismatch between:
|
|
?_ -> IO ()
|
|
and
|
|
IO ?b
|
|
at:
|
|
1 do printLn "foo"; printLn "boo"; map (+1) (printLn "woo"); printLn "goo"; printLn "foo"
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
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:
|
|
[]
|
|
[]
|
|
[]
|
|
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
|
|
at:
|
|
1 :t with [Vect.Nil, Prelude.(::)] [1,2,3]
|
|
^^^^^^^
|
|
|
|
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!
|