2020-05-22 21:26:10 +03:00
|
|
|
1/1: Building Main (Main.idr)
|
2020-07-28 15:11:42 +03:00
|
|
|
Main> Error: Sorry, I can't find any elaboration which works. All errors:
|
2020-05-22 21:26:10 +03:00
|
|
|
If Prelude.>>=: Sorry, I can't find any elaboration which works. All errors:
|
2020-07-28 15:11:42 +03:00
|
|
|
If Prelude.>>=: When unifying ?_ -> IO () and IO ?b.
|
|
|
|
Mismatch between: ?_ -> IO () and IO ?b.
|
|
|
|
|
|
|
|
(interactive):1:66--1:81
|
|
|
|
|
|
2020-07-22 22:16:43 +03:00
|
|
|
1 | do myPrintLn "foo"; myPrintLn "boo"; map (+1) (myPrintLn "woo"); myPrintLn "goo"; myPrintLn "foo"
|
2020-07-28 15:11:42 +03:00
|
|
|
| ^^^^^^^^^^^^^^^
|
2020-05-22 21:26:10 +03:00
|
|
|
|
2020-07-28 15:11:42 +03:00
|
|
|
If Main.Other.>>=: When unifying ?_ -> IO () and IO ?b.
|
|
|
|
Mismatch between: ?_ -> IO () and IO ?b.
|
2020-05-22 21:26:10 +03:00
|
|
|
|
2020-07-28 15:11:42 +03:00
|
|
|
(interactive):1:38--1:64
|
|
|
|
|
|
2020-07-22 22:16:43 +03:00
|
|
|
1 | do myPrintLn "foo"; myPrintLn "boo"; map (+1) (myPrintLn "woo"); myPrintLn "goo"; myPrintLn "foo"
|
2020-07-28 15:11:42 +03:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-05-22 21:26:10 +03:00
|
|
|
|
|
|
|
If Main.Other.>>=: Sorry, I can't find any elaboration which works. All errors:
|
2020-07-28 15:11:42 +03:00
|
|
|
If Prelude.>>=: When unifying ?_ -> IO () and IO ?b.
|
|
|
|
Mismatch between: ?_ -> IO () and IO ?b.
|
|
|
|
|
|
|
|
(interactive):1:38--1:64
|
|
|
|
|
|
2020-07-22 22:16:43 +03:00
|
|
|
1 | do myPrintLn "foo"; myPrintLn "boo"; map (+1) (myPrintLn "woo"); myPrintLn "goo"; myPrintLn "foo"
|
2020-07-28 15:11:42 +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.
|
|
|
|
|
|
|
|
(interactive):1:66--1:81
|
|
|
|
|
|
2020-07-22 22:16:43 +03:00
|
|
|
1 | do myPrintLn "foo"; myPrintLn "boo"; map (+1) (myPrintLn "woo"); myPrintLn "goo"; myPrintLn "foo"
|
2020-07-28 15:11:42 +03:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
If Main.Other.>>=: When unifying ?_ -> IO () and IO ?b.
|
|
|
|
Mismatch between: ?_ -> IO () and IO ?b.
|
2020-05-22 21:26:10 +03:00
|
|
|
|
2020-07-28 15:11:42 +03:00
|
|
|
(interactive):1:38--1:64
|
|
|
|
|
|
|
|
|
1 | do myPrintLn "foo"; myPrintLn "boo"; map (+1) (myPrintLn "woo"); myPrintLn "goo"; myPrintLn "foo"
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-05-22 21:26:10 +03:00
|
|
|
|
2020-07-28 15:11:42 +03:00
|
|
|
Main> Error: Can't find an implementation for Num ().
|
2020-06-11 23:46:36 +03:00
|
|
|
|
2020-08-05 02:00:40 +03:00
|
|
|
(interactive):1:61--1:65
|
2020-07-28 15:11:42 +03:00
|
|
|
|
|
2020-07-22 22:16:43 +03:00
|
|
|
1 | with Prelude.(>>=) do myPrintLn "foo"; myPrintLn "boo"; map (+1) (myPrintLn "woo"); myPrintLn "goo"; myPrintLn "foo"
|
2020-08-05 02:00:40 +03:00
|
|
|
| ^^^^
|
2020-07-28 15:11:42 +03:00
|
|
|
|
|
|
|
Main> Error: Ambiguous elaboration. Possible results:
|
2020-07-22 22:16:43 +03:00
|
|
|
PrimIO.Nil
|
|
|
|
Prelude.Nil
|
|
|
|
Data.Vect.Nil
|
2020-07-28 15:11:42 +03:00
|
|
|
|
|
|
|
(interactive):1:4--1:6
|
|
|
|
|
|
|
|
|
1 | :t []
|
|
|
|
| ^^
|
|
|
|
|
2020-05-22 21:26:10 +03:00
|
|
|
Main> [] : Vect 0 ?elem
|
|
|
|
Main> [] : List ?a
|
2020-07-28 15:11:42 +03:00
|
|
|
Main> Error: When unifying Vect 0 ?elem and List ?a.
|
|
|
|
Mismatch between: Vect 0 ?elem and List ?a.
|
|
|
|
|
|
|
|
(interactive):1:34--1:41
|
|
|
|
|
|
2020-07-22 22:16:43 +03:00
|
|
|
1 | :t with [Vect.Nil, Prelude.(::)] [1,2,3]
|
2020-07-28 15:11:42 +03:00
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
Main> the (Maybe Int) (pure 4) : Maybe Int
|
2020-08-12 01:27:52 +03:00
|
|
|
Main> Parse error at line 1:2:
|
|
|
|
Unrecognised command (next tokens: [identifier t, with, symbol [, symbol ], literal 4, end of input])
|
2020-05-22 21:26:10 +03:00
|
|
|
Main> Bye for now!
|