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

36 lines
659 B
Plaintext

1/1: Building Main (Main.idr)
Main.idr:33:7--35:1:complex postfix projections require %language PostfixProjections at:
33 bad = rect.(x . topLeft) -- disallowed without %language PostfixProjections
34
35 %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> 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!