Idris2/tests/idris2/record004/expected
Tim Engler 7baf698f66
Made unifying error msg nicer. (#1922)
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2021-09-15 11:57:50 +01:00

34 lines
483 B
Plaintext

1/1: Building Main (Main.idr)
Main> 4.2
Main> 4.2
Main> 10.8
Main> 4.2
Main> 4.2
Main> 17.64
Main> [1.1, 4.2]
Main> Error: When unifying:
(?a -> ?b) -> ?f ?a -> ?f ?b
and:
Point
Mismatch between: (?a -> ?b) -> ?f ?a -> ?f ?b and Point.
(Interactive):1:1--1:4
1 | map .x [MkPoint 1 2, MkPoint 3 4]
^^^
Main> [2.5, 2.5]
Main> 7.4
Main> 4.2
Main> 4.2
Main> 4.2
Main> 4.2
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!