2020-05-19 20:25:18 +03:00
|
|
|
1/1: Building Dots1 (Dots1.idr)
|
|
|
|
1/1: Building Dots2 (Dots2.idr)
|
2020-06-13 17:51:05 +03:00
|
|
|
Dots2.idr:2:7--2:8:While processing left hand side of foo at Dots2.idr:2:1--4:1:
|
2020-06-11 23:46:36 +03:00
|
|
|
Can't match on ?x [no locals in scope] (Non linear pattern variable) at
|
|
|
|
2 foo x x = x + x
|
2020-06-13 17:51:05 +03:00
|
|
|
^
|
2020-06-11 23:46:36 +03:00
|
|
|
|
2020-05-19 20:25:18 +03:00
|
|
|
1/1: Building Dots3 (Dots3.idr)
|
|
|
|
Dots3.idr:5:29--5:30:While processing left hand side of addBaz at Dots3.idr:5:1--6:1:
|
|
|
|
Pattern variable z unifies with:
|
|
|
|
?y [no locals in scope]
|
2020-06-11 23:46:36 +03:00
|
|
|
at:
|
|
|
|
5 addBaz (x + y) (AddThings x z) = x + y
|
|
|
|
^
|
|
|
|
|