Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
destructure :: ExpQ -> PatQ -> ExpQ -> ExpQ
Generates `case $val of { $pat -> $exp }`
nameFromTyVarBndr :: TyVarBndr -> Name
Extract the name from a TyVarBndr.
Safe Haskell | None |
---|---|
Language | Haskell2010 |
destructure :: ExpQ -> PatQ -> ExpQ -> ExpQ
Generates `case $val of { $pat -> $exp }`
nameFromTyVarBndr :: TyVarBndr -> Name
Extract the name from a TyVarBndr.