Idris2/tests/idris2/record004/expected

44 lines
887 B
Plaintext
Raw Normal View History

1/1: Building Main (Main.idr)
2020-06-21 09:42:30 +03:00
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]
2020-06-13 17:51:05 +03:00
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
2020-06-11 23:46:36 +03:00
at:
1 map .x [MkPoint 1 2, MkPoint 3 4]
2020-06-13 17:51:05 +03:00
^^^
2020-06-11 23:46:36 +03:00
Main> [2.5, 2.5]
2020-06-21 09:42:30 +03:00
Main> 8.1
Main> [8.1, 8.1]
Main> 6
Main> [6, 15]
Main> 7.4
2020-06-21 01:09:30 +03:00
Main> 7.4
Main> 7.4
Main> MkPoint 1.1 2.5
Main> 4.2
Main> 4.2
Main> 4.2
Main> 4.2
2020-05-19 21:52:31 +03:00
Main> 3.0
Main> 2.1
2020-05-19 21:52:31 +03:00
Main> 3.0
Main> 2.1
Main> Bye for now!