mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-09-21 02:07:25 +03:00
Add more test examples.
This commit is contained in:
parent
f478a03b69
commit
c9aa733626
@ -16,6 +16,9 @@ at:
|
||||
|
||||
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
|
||||
|
@ -7,6 +7,9 @@ map (.x) [MkPoint 1.1 2.5, MkPoint 4.2 6.3]
|
||||
map .x [MkPoint 1 2, MkPoint 3 4]
|
||||
map (.topLeft.y) [rect, rect]
|
||||
rect.topLeft.x + rect.bottomRight.y
|
||||
rect.(x . topLeft) + rect.(y . bottomRight)
|
||||
x rect.topLeft + y rect.bottomRight
|
||||
rect.(Rect.topLeft)
|
||||
Main.Point.x pt
|
||||
Point.x pt
|
||||
(x) pt
|
||||
|
Loading…
Reference in New Issue
Block a user