Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data MethodSpec Source #
MethodSpec | |
|
Instances
Show MethodSpec Source # | |
Defined in Ribosome.Host.TH.Api.Generate showsPrec :: Int -> MethodSpec -> ShowS # show :: MethodSpec -> String # showList :: [MethodSpec] -> ShowS # | |
Eq MethodSpec Source # | |
Defined in Ribosome.Host.TH.Api.Generate (==) :: MethodSpec -> MethodSpec -> Bool # (/=) :: MethodSpec -> MethodSpec -> Bool # |
functionData :: RpcDecl -> Q MethodSpec Source #
genExtTypes :: Map ExtType ExtTypeMeta -> (Name -> ExtTypeMeta -> DecsQ) -> Q [[Dec]] Source #
generateFromApi :: (MethodSpec -> Q [Dec]) -> Maybe (Name -> ExtTypeMeta -> DecsQ) -> Q [Dec] Source #