1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-14 08:27:03 +03:00
juvix/test/Scope
janmasrovira 38622b28d1
Allow type signatures to have a body (#1785)
- Closes #1637.

A function type signature is now allowed to have a body. This is valid
for both top level and let definitions.
```
not : Bool -> Bool := λ {
 | true := false
 | false := true
};
```
2023-01-31 08:46:53 +00:00
..
Negative.hs Allow type signatures to have a body (#1785) 2023-01-31 08:46:53 +00:00
Positive.hs Allow type signatures to have a body (#1785) 2023-01-31 08:46:53 +00:00