Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- instance Functor ExprR where
- fmap _ (Cst c) = Cst c
- fmap _ (Var v) = Var v
- fmap f (Op opType xs) = Op opType (map f xs)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement