Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Instances
Enum ApiOffset Source # | |
Defined in Roboservant.Types.ReifiedApi succ :: ApiOffset -> ApiOffset # pred :: ApiOffset -> ApiOffset # fromEnum :: ApiOffset -> Int # enumFrom :: ApiOffset -> [ApiOffset] # enumFromThen :: ApiOffset -> ApiOffset -> [ApiOffset] # enumFromTo :: ApiOffset -> ApiOffset -> [ApiOffset] # enumFromThenTo :: ApiOffset -> ApiOffset -> ApiOffset -> [ApiOffset] # | |
Num ApiOffset Source # | |
Defined in Roboservant.Types.ReifiedApi | |
Show ApiOffset Source # | |
Eq ApiOffset Source # | |
Ord ApiOffset Source # | |
Defined in Roboservant.Types.ReifiedApi |
Argument | |
|
data ReifiedEndpoint Source #
forall as.(RecordToList as, RMap as) => ReifiedEndpoint | |
|
Instances
Show ReifiedEndpoint Source # | |
Defined in Roboservant.Types.ReifiedApi showsPrec :: Int -> ReifiedEndpoint -> ShowS # show :: ReifiedEndpoint -> String # showList :: [ReifiedEndpoint] -> ShowS # |
class (RecordToList (EndpointArgs endpoint), RMap (EndpointArgs endpoint)) => ToReifiedEndpoint (endpoint :: Type) where Source #
type EndpointArgs endpoint :: [Type] Source #
type EndpointRes endpoint :: Type Source #
reifiedEndpointArguments :: Rec (TypedF Argument) (EndpointArgs endpoint) Source #
Instances
data InteractionError Source #
Instances
Exception InteractionError Source # | |
Defined in Roboservant.Types.ReifiedApi | |
Show InteractionError Source # | |
Defined in Roboservant.Types.ReifiedApi showsPrec :: Int -> InteractionError -> ShowS # show :: InteractionError -> String # showList :: [InteractionError] -> ShowS # |
type IfRequired mods t = If (FoldRequired mods) t (Maybe t) Source #
type IfRequiredLenient s mods t = IfRequired mods (IfLenient s mods t) Source #