Changelog for pattern-matching lets

This commit is contained in:
Ulf Norell 2020-01-14 14:28:07 +01:00
parent ac9e9716cb
commit 0c2c7e0ed6

View File

@ -20,6 +20,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
function somes(xs : list(option('a))) : list('a) =
[ x | Some(x) <- xs ]
```
- Allow pattern matching in let-bindings (aborting on match failures):
```
function test(m : map(int, int)) =
let Some(x) = Map.lookup(m, 0)
x
```
### Changed
- FATE code generator improvements.
### Removed