Merge remote-tracking branch 'origin/trunk' into pattern-compilation

This commit is contained in:
Folkert 2020-03-17 12:45:23 +01:00
commit 6310341b7e
9 changed files with 322 additions and 81 deletions

View file

@ -254,7 +254,6 @@ fn recover_ctor(
arity: usize,
mut patterns: Vec<Pattern>,
) -> Vec<Pattern> {
// TODO ensure that this behaves the same as haskell's splitAt
let mut rest = patterns.split_off(arity);
let args = patterns;