Idris2/libs/contrib/Control
G. Allais 21c6f4fb79
[ breaking ] remove parsing of dangling binders (#1711)
* [ breaking ] remove parsing of dangling binders

It used to be the case that

```
ID : Type -> Type
ID a = a

test : ID (a : Type) -> a -> a
test = \ a, x => x
```

and

```
head : List $ a -> Maybe a
head [] = Nothing
head (x :: _) = Just x
```

were accepted but these are now rejected because:

* `ID (a : Type) -> a -> a` is parsed as `(ID (a : Type)) -> a -> a`
* `List $ a -> Maybe a` is parsed as `List (a -> Maybe a)`

Similarly if you want to use a lambda / rewrite / let expression as
part of the last argument of an application, the use of `$` or parens
is now mandatory.

This should hopefully allow us to make progress on #1703
2021-08-10 19:24:32 +01:00
..
Algebra Missing interface methods now cause an error 2021-06-27 20:03:19 +01:00
ANSI Fixed typo 2020-06-26 21:26:36 +02:00
Linear [ breaking ] remove parsing of dangling binders (#1711) 2021-08-10 19:24:32 +01:00
Monad [ new ] Data.OpenUnion (#1050) 2021-02-10 15:25:35 +00:00
Algebra.idr Add Algebra interfaces and laws 2020-06-18 10:12:13 -05:00
ANSI.idr Added Control.ANSI module in contrib 2020-06-26 19:10:02 +02:00
Arrow.idr [ contrib ] add 2021-05-10 11:54:23 +01:00
Category.idr Generalize Category 2021-02-11 09:38:26 +00:00
Delayed.idr fix typo 2021-05-24 08:42:49 +01:00
Validation.idr [ breaking ] remove parsing of dangling binders (#1711) 2021-08-10 19:24:32 +01:00