Closed prozak closed 11 years ago
let [rule|$name:nm = $clause:cl1 | $clause:cl2 | $clause:cl3 | $clause:cl4 ;|] = [rule| Rule = id '=' Clause ';' | id ':' id '=' Clause ';' | id '.' id ':' id '=' Clause ';' | '.' id ':' id '=' Clause ';' ;|] putStrLn $ show cl1
Problem is that $clause:cl1 (and others) not translated to the pattern var.
It is working now. Are there any other problems?
It is ok for now