Language.Haskell.Meta.QQ.Hs
Description
Eat your face!
- hs :: QuasiQuoter
- pat :: QuasiQuoter
Documentation
ghci> [$hs|\x -> (x,x)|] 42 (42,42) ghci> (\[$hs|a@(x,_)|] -> (a,x)) (42,88) ((42,88),42)
haskell-src-meta-0.2: Parse source to template-haskell abstract syntax.
Language.Haskell.Meta.QQ.Hs
Description
Eat your face!
ghci> [$hs|\x -> (x,x)|] 42 (42,42) ghci> (\[$hs|a@(x,_)|] -> (a,x)) (42,88) ((42,88),42)