diff --git a/CHANGELOG.md b/CHANGELOG.md index d1e2c3f..3e2b88d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added +- Allow separate entrypoint/function type signature and definition, and pattern + matching in left-hand sides: + ``` + function + length : list('a) => int + length([]) = 0 + length(x :: xs) = 1 + length(xs) + ``` +- Allow pattern matching in list comprehension generators (filtering out match + failures): + ``` + function somes(xs : list(option('a))) : list('a) = + [ x | Some(x) <- xs ] + ``` ### Changed - FATE code generator improvements. ### Removed