2020-05-22 21:26:10 +03:00
|
|
|
1/1: Building Main (Main.idr)
|
2021-02-24 14:07:16 +03:00
|
|
|
Main> Error: Ambiguous elaboration. Possible results:
|
|
|
|
Main.myPrintLn "foo" Prelude.>> ?arg
|
|
|
|
Main.myPrintLn "foo" Main.Other.>> ?arg
|
2020-05-22 21:26:10 +03:00
|
|
|
|
2021-02-24 14:07:16 +03:00
|
|
|
(interactive):1:4--1:19
|
2020-07-28 15:11:42 +03:00
|
|
|
1 | do myPrintLn "foo"; myPrintLn "boo"; map (+1) (myPrintLn "woo"); myPrintLn "goo"; myPrintLn "foo"
|
2021-02-24 14:07:16 +03:00
|
|
|
^^^^^^^^^^^^^^^
|
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
|
|
|
|
2021-02-24 14:07:16 +03:00
|
|
|
(interactive):1:60--1:64
|
|
|
|
1 | with Prelude.(>>) do myPrintLn "foo"; myPrintLn "boo"; map (+1) (myPrintLn "woo"); myPrintLn "goo"; myPrintLn "foo"
|
|
|
|
^^^^
|
2020-07-28 15:11:42 +03:00
|
|
|
|
|
|
|
Main> Error: Ambiguous elaboration. Possible results:
|
2020-07-22 22:16:43 +03:00
|
|
|
Prelude.Nil
|
|
|
|
Data.Vect.Nil
|
2020-07-28 15:11:42 +03:00
|
|
|
|
|
|
|
(interactive):1:4--1:6
|
|
|
|
1 | :t []
|
2021-02-11 20:24:26 +03:00
|
|
|
^^
|
2020-07-28 15:11:42 +03:00
|
|
|
|
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.
|
|
|
|
|
2021-05-10 11:05:43 +03:00
|
|
|
(interactive):1:40--1:41
|
2020-07-22 22:16:43 +03:00
|
|
|
1 | :t with [Vect.Nil, Prelude.(::)] [1,2,3]
|
2021-05-10 11:05:43 +03:00
|
|
|
^
|
2020-07-28 15:11:42 +03:00
|
|
|
|
2020-08-18 01:27:49 +03:00
|
|
|
Main> the (Maybe Integer) (pure 4) : Maybe Integer
|
2021-02-19 14:37:49 +03:00
|
|
|
Main> Expected 'case', 'if', 'do', application or operator expression.
|
2021-02-18 16:07:22 +03:00
|
|
|
|
2021-02-19 14:37:49 +03:00
|
|
|
(interactive):1:4--1:5
|
2021-02-18 16:07:22 +03:00
|
|
|
1 | :t with [] 4
|
2021-02-19 14:37:49 +03:00
|
|
|
^
|
2021-02-18 16:07:22 +03:00
|
|
|
|
2020-05-22 21:26:10 +03:00
|
|
|
Main> Bye for now!
|