mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-24 13:23:10 +03:00
commit
d969a6f356
@ -146,7 +146,7 @@ views explicit:
|
|||||||
In `SnocList.idr`, in `my_reverse`, the link between `Snoc rec` and `xs ++ [x]`
|
In `SnocList.idr`, in `my_reverse`, the link between `Snoc rec` and `xs ++ [x]`
|
||||||
needs to be made explicit. Idris 1 would happily decide that `xs` and `x` were
|
needs to be made explicit. Idris 1 would happily decide that `xs` and `x` were
|
||||||
the relevant implicit arguments to `Snoc` but this was little more than a guess
|
the relevant implicit arguments to `Snoc` but this was little more than a guess
|
||||||
based on what would make it type checker, whereas Idris 2 is more precise in
|
based on what would make it type check, whereas Idris 2 is more precise in
|
||||||
what it allows to unify. So, `x` and `xs` need to be explicit arguments to
|
what it allows to unify. So, `x` and `xs` need to be explicit arguments to
|
||||||
`Snoc`:
|
`Snoc`:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user