Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
TemplateHaskell
helpers
Synopsis
- withMichelinePrimitiveCons :: (Name -> Name -> Q r) -> Q [r]
- primFromName :: Name -> MichelinePrimitive
Documentation
primFromName :: Name -> MichelinePrimitive Source #
Construct MichelinePrimitive
from its constructor name. NB: partial function!