Compute.ConcreteNew: add missing case for variant functions

Also adding a test case in the test suite for this.
This commit is contained in:
hallgren
2012-12-10 13:25:32 +00:00
parent a4cba91ee6
commit ab97deae57
4 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
resource Variants = {
oper
hello = r.f "hello";
r = { f:Str->Str = (id|dup) };
id : Str->Str = \ s -> s;
dup : Str->Str = \ s -> s++s;
}