Idris2/tests/idris2/with003/expected
2023-05-08 11:53:21 +01:00

46 lines
1.6 KiB
Plaintext

1/1: Building Main (Main.idr)
Main> Error: Ambiguous elaboration. Possible results:
Main.myPrintLn "foo" Prelude.(>>) Delay (Main.myPrintLn "boo" Main.Other.(>>) (Prelude.map (\arg => arg Prelude.(+) ?delayed) (Main.myPrintLn "woo") Main.Other.(>>) (Main.myPrintLn "goo" Main.Other.(>>) Main.myPrintLn "foo")))
Main.myPrintLn "foo" Main.Other.(>>) (Main.myPrintLn "boo" Main.Other.(>>) (Prelude.map (\arg => arg Prelude.(+) ?delayed) (Main.myPrintLn "woo") Main.Other.(>>) (Main.myPrintLn "goo" Main.Other.(>>) Main.myPrintLn "foo")))
(Interactive):1:4--1:19
1 | do myPrintLn "foo"; myPrintLn "boo"; map (+1) (myPrintLn "woo"); myPrintLn "goo"; myPrintLn "foo"
^^^^^^^^^^^^^^^
Main> Error: Can't find an implementation for Num ().
(Interactive):1:60--1:64
1 | with Prelude.(>>) do myPrintLn "foo"; myPrintLn "boo"; map (+1) (myPrintLn "woo"); myPrintLn "goo"; myPrintLn "foo"
^^^^
Main> Error: Ambiguous elaboration. Possible results:
Control.Relation.Nil
Prelude.Nil
Data.Vect.Nil
(Interactive):1:4--1:6
1 | :t []
^^
Main> [] : Vect 0 ?elem
Main> [] : List ?a
Main> Error: When unifying:
Vect 0 ?elem
and:
List ?a
Mismatch between: Vect 0 ?elem and List ?a.
(Interactive):1:40--1:41
1 | :t with [Vect.Nil, Prelude.(::)] [1,2,3]
^
Main> the (Maybe Integer) (pure 4) : Maybe Integer
Main> Couldn't parse any alternatives:
1: Expected namespaced name.
(Interactive):1:10--1:11
1 | :t with [] 4
^
... (16 others)
Main> Bye for now!