Get program compileable

This commit is contained in:
greg 2018-09-10 21:28:14 -07:00
parent b8487aa0d4
commit 015840ac38

View File

@ -197,10 +197,13 @@ impl Pattern {
_ => panic!("Bad symbol"), _ => panic!("Bad symbol"),
}; };
/*
let guards = patterns.iter().map(|p| match p { let guards = patterns.iter().map(|p| match p {
}); });
*/
let guards = unimplemented!();
let bound_vars = subpatterns.iter().map(|p| match p { let bound_vars = subpatterns.iter().map(|p| match p {
Literal(PatternLiteral::VarPattern(var)) => Some(var.clone()), Literal(PatternLiteral::VarPattern(var)) => Some(var.clone()),