From 015840ac388eecb815549c23f500718a4510b4b4 Mon Sep 17 00:00:00 2001 From: greg Date: Mon, 10 Sep 2018 21:28:14 -0700 Subject: [PATCH] Get program compileable --- schala-lang/src/reduced_ast.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/schala-lang/src/reduced_ast.rs b/schala-lang/src/reduced_ast.rs index 8d27e60..663046d 100644 --- a/schala-lang/src/reduced_ast.rs +++ b/schala-lang/src/reduced_ast.rs @@ -197,10 +197,13 @@ impl Pattern { _ => panic!("Bad symbol"), }; + /* let guards = patterns.iter().map(|p| match p { }); + */ + let guards = unimplemented!(); let bound_vars = subpatterns.iter().map(|p| match p { Literal(PatternLiteral::VarPattern(var)) => Some(var.clone()),