Get program compileable
This commit is contained in:
parent
b8487aa0d4
commit
015840ac38
@ -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()),
|
||||||
|
Loading…
Reference in New Issue
Block a user