2020-05-19 20:25:18 +03:00
|
|
|
1/1: Building gnu (gnu.idr)
|
2020-07-28 15:11:42 +03:00
|
|
|
Error: While processing right hand side of TestSurprise1. Multiple solutions found in search of:
|
2020-07-22 22:16:43 +03:00
|
|
|
Gnu
|
2020-07-28 15:11:42 +03:00
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
gnu:47:27--47:32
|
2021-02-11 20:24:26 +03:00
|
|
|
43 |
|
|
|
|
44 | ||| This is the meat. I'd expect this function to raise an error
|
|
|
|
45 | ||| because it is ambiguous which local/local function to use.
|
|
|
|
46 | TestSurprise1 : (gnu1, gnu2 : Gnu) -> String
|
2020-07-22 22:16:43 +03:00
|
|
|
47 | TestSurprise1 gnu1 gnu2 = Guess
|
2021-02-11 20:24:26 +03:00
|
|
|
^^^^^
|
2020-07-28 15:11:42 +03:00
|
|
|
|
2020-06-11 16:28:34 +03:00
|
|
|
Possible correct results:
|
2020-07-22 22:16:43 +03:00
|
|
|
gnu1
|
|
|
|
gnu2
|
2020-07-28 15:11:42 +03:00
|
|
|
Error: While processing right hand side of TestSurprise2. Multiple solutions found in search of:
|
2020-07-22 22:16:43 +03:00
|
|
|
Gnu
|
2020-07-28 15:11:42 +03:00
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
gnu:50:21--50:26
|
2021-02-11 20:24:26 +03:00
|
|
|
46 | TestSurprise1 : (gnu1, gnu2 : Gnu) -> String
|
|
|
|
47 | TestSurprise1 gnu1 gnu2 = Guess
|
|
|
|
48 |
|
|
|
|
49 | TestSurprise2 : (f,g : Unit -> Gnu) -> String
|
2020-07-22 22:16:43 +03:00
|
|
|
50 | TestSurprise2 f g = Guess
|
2021-02-11 20:24:26 +03:00
|
|
|
^^^^^
|
2020-07-28 15:11:42 +03:00
|
|
|
|
2020-06-11 16:28:34 +03:00
|
|
|
Possible correct results:
|
2020-07-22 22:16:43 +03:00
|
|
|
f ()
|
|
|
|
g ()
|
2020-07-28 15:11:42 +03:00
|
|
|
Error: While processing right hand side of TestSurprise3. Can't find an implementation for Gnu.
|
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
gnu:53:19--53:24
|
2021-02-11 20:24:26 +03:00
|
|
|
49 | TestSurprise2 : (f,g : Unit -> Gnu) -> String
|
|
|
|
50 | TestSurprise2 f g = Guess
|
|
|
|
51 |
|
|
|
|
52 | TestSurprise3 : (Unit -> Gnu, Unit -> Gnu) -> String
|
2020-07-22 22:16:43 +03:00
|
|
|
53 | TestSurprise3 f = Guess
|
2021-02-11 20:24:26 +03:00
|
|
|
^^^^^
|
2020-07-28 15:11:42 +03:00
|
|
|
|