Idris2/tests/idris2/record004/expected
2020-07-07 21:06:35 +01:00

44 lines
887 B
Plaintext

1/1: Building Main (Main.idr)
Main.idr:41:5--43:1:complex postfix projections require %language PostfixProjections at:
41 + rect.(x . topLeft) -- disallowed without %language PostfixProjections
42
43 bad2 : Double
Main.idr:44:9--44:24:postfix projection sections require %language PostfixProjections at:
44 bad2 = (.oopFoldl 0 (+)) -- disallowed without %language PostfixProjections
^^^^^^^^^^^^^^^
Main> 4.2
Main> 4.2
Main> 10.8
Main> 4.2
Main> 4.2
Main> [1.1, 4.2]
Main> (interactive):1:1--1:4:When unifying (?a -> ?b) -> ?f ?a -> ?f ?b and Point
Mismatch between:
(?a -> ?b) -> ?f ?a -> ?f ?b
and
Point
at:
1 map .x [MkPoint 1 2, MkPoint 3 4]
^^^
Main> [2.5, 2.5]
Main> 8.1
Main> [8.1, 8.1]
Main> 6
Main> [6, 15]
Main> 7.4
Main> 7.4
Main> 7.4
Main> MkPoint 1.1 2.5
Main> 4.2
Main> 4.2
Main> 4.2
Main> 4.2
Main> 3.0
Main> 2.1
Main> 3.0
Main> 2.1
Main> Bye for now!