-- this doesnt work, Seq Pop Pop -> emptylang (Seq l Pop) = lang (deriv Push l) -- ^-1 operation needed, to do this generaly, since Seq (_) (_ <+> Pop) doesn't work
...
...
@@ -35,7 +50,7 @@ lang_deriv Pop = Data.Set.map (\word -> if (word == "") then "+" else (if (last
deriv(Altlr)=error"not thought about it enough"-- const Zero -- doesn't ALLWAYS exist -- \ word -> (deriv l word)<+>(deriv r word) -- WONG, doesn't exist