!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                           NoneSafeNone!"4 !Wrap your custom error type in a . Try two ExceptT computations left to right yielding the last error if both fail. This prevents the need for a Semigroup or Monoid instance for the error type, which is necessary if using ( !) or ( |) respectively. ' !"#$%&'()*+,-./0123456789:;<=>?    None!"(*4>KLN The  datatype containing sub-dictionaries for translation of identifiers (i), headers (h), parameters (p), inputs (i), outputs (o), and errors (e). Inputs, outputs and errors can have multiple associated dictionaries.The explicit dictionary I describes how to translate some Haskell error value to a response body.The explicit dictionary  describes how to translate some Haskell value to a response body. We currently use a constructor for every combination of input type to output type.The explicit dictionary ' describes how to translate the request body into some Haskell value. We currently use a constructor for every combination of input type to output type. For example, we can use XML input in multiple ways, parsed, as plain/text or as raw bytes, depending on the needs of the backend resource.$The explicit dictionary $b describes how to translate the request parameters to some Haskell value. The first field in the $ constructor is a white list of paramters we can recognize, used in generic validation and for generating documentation. The second field is a custom parser that can fail with a &[ or can produce a some value. When explicitly not interested in the parameters we can use %.(The explicit dictionary (` describes how to translate HTTP request headers to some Haskell value. The first field in the ( constructor is a white list of headers we can recognize, used in generic validation and for generating documentation. The second field is a custom parser that can fail with a &X or can produce a some value. When explicitly not interested in the headers we can use ).,The explicit dictionary ,x describes how to translate a resource identifier (originating from a request URI) to a Haskell value. We allow plain @. identifiers or all Haskell types that have a A instance./The /E datatype enumerates all input and output formats we might recognize.7aGet the list of dictionaries. If there are none, you get a [o]. If this is too polymorphic, try 8.8Get the list of dictionaries. If there are none, you get a [()]. Sometimes useful to constraint the types if the element type of the list isn't clear from the context.:)Type synonym for dictionary modification.;;Custom existential packing an error together with a Reason.B+The empty dictionary, recognizing no types.>B  !"#$%&'()*+,-./0123456789CDEF:;<=>?@AB9  !"#$%&'()*+,-./0123456789:;<=>?@AB9/012345=>?@AB:,-.()*+$%&' !"# 6789;< B   !"#$%&'()*+,-./0123456789CDEF:;<=>?@ABNone(>ILNC2Set custom sub-dictionary for recognizing headers.D2Add custom sub-dictionary for recognizing headers.E5Set custom sub-dictionary for recognizing parameters.F5Add custom sub-dictionary for recognizing parameters.G:Open up input type for extension with custom dictionaries.H"Allow direct usage of as input as @.I*Allow direct usage of as input as raw Xml G.J8Allow usage of input as file contents, represented as a H.K,The input can be read into some instance of AD. For inspection reasons the type must also be an instance of both  and I.L,The input can be read into some instance of J.M The input can be used as an XML H.N,The input can be read into some instance of Json.O;Open up output type for extension with custom dictionaries.PAllow output as plain String.Q0Allow file output using a combination of the raw data, the file name, and an attachment flag (causing the file to be downloaded by browsers instead of shown). The mime type will be determined from the file extension by your web server library, or "application/octet-stream" with an unknown extension.RAllow output as XML using the J type class.S)Allow output as raw XML represented as a H.TAllow output as JSON using the Json type class.UbAllow output as multipart. Writes out the ByteStrings separated by boundaries, with content type 'multipart/mixed'.V:Open up error type for extension with custom dictionaries.W%Allow error output as JSON using the Json type class.X$Allow error output as XML using the J type class.Y1The input can be read into some instance of both Json and J.ZAllow output as JSON using the Json/ type class and allow output as XML using the J type class.[%Allow error output as JSON using the Json/ type class and allow output as XML using the J type class.\1The input can be read into some instance of both Json and J% and allow output as JSON using the Json/ type class and allow output as XML using the J type class.CDEFGHIJKLMNOPQRSTUVWXYZ[\CDEFGHIJKLMNOPQRSTUVWXYZ[\HIJKLMNPQRSTUWXYZ[\CDEFGOVCDEFGHIJKLMNOPQRSTUVWXYZ[\NoneS  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\None!"(+35=>LN ]^_`aKLbcMNOPQRS]^_`abc]^_`abc ]^_`aKLbcNone !"(+>FLdA e returning a list of items.eA e returning a single item.fApply a Functor f to a type a. In general will result in f a , except if f is T#, in which case it will result in a. This prevents a lot of T wrapping/unwrapping.gNA handler for some endpoint. The input and output types are specified by the i3, which can be created using the combinators from Rest.Dictionary.Combinators>. The inputs (headers, parameters and body) are passed as an l to the j. This handler runs in monad m, combined with the ability to throw errors. The result is either the output value, or a list of them for list handlers. If the k flag is set, this suggests to clients that the resource should only be served over https. It has no effect when running the API.lMAn environment of inputs passed to a handler. Contains information from the ns, the oeters and the body p.q Construct a g using a : instead of a . The k flag will be U.rSet k to V.sJSmart constructor for creating a list handler. Restricts the type of the  dictionary to  tDictionary for taking + parameters. Allows two query parameters, offset and count[. If not passed, the defaults are 0 and 100. The maximum range that can be passed is 1000.uTCreate a list handler that accepts ordering information. Restricts the type of the  dictionary to  vWDictionary for taking ordering information. In addition to the parameters accepted by t, this accepts order and  direction.wOCreate a handler for a single resource. Takes the entire environmend as input.xRCreate a handler for a single resource. Takes only the body information as input.y?Create a handler for a single resource. Doesn't take any input.zoCreate a handler for a single resource. Take body information and the resource identifier as input. The monad m must be a W#-like type containing the idenfier.defghijklmnopqrstuvwxyzXYdefghijklmnopqrstuvwxyzwxyzsutvlmnopghijkqfedrdefghijklmnopqrstuvwxyzXYNone;N{@A named endpoint: an static action, a single item of many items.|An identification of an item in a resource. It contains a dictionary describing how to identify the resource, and a function for this identification type to an id.~A ~ can either be a . (there is only one) or it can be identified  an | entifier.GSpecifies if we're identifying a single resource, or many (a listing).LA step in the routing of a resource. A part of the uri either identifies a  resource, or an 3 resource. Named resources can be static actions (Z%) or one or many singletons or by's.A j describes how (part of the) route to a resource looks, and returns an identifier for a single resource (sid), many resources (mid) or a static action (aid). The first argument specifies the top level resource (no path segments). The second specifies a what happens at the first step in the path."A schema with a top level listing.#A schema with no top level listing.+A schema with a singleton at the top level.A list of named endpoints..A top level action endpoint for this resource.A singleton resource endpoint.4A single resource endpoint with a string identifier.?A single resource endpoint with an identifier that can be read.[1A single resource identified as specified by the ,.A listing endpoint.,A listing endpoint with a string identifier..A listing with an identifier that can be read.\)A listing identified as specified by the ,.4An unnamed single resource with a string identifier.?An unnamed single resource with an identifier that can be read.];An unnamed single resource identified as specified by the ,.,An unnamed listing with a string identifier.7An unnamed listing with an identifier that can be read.^2An unnamed listing identified as specified by the ,.!{|}~[\]^{|}~~|}{{|}~[\]^None !"3457>INThe P data type represents a single resource in a REST API. Handlers run in a monad m+, while things below this resource run in s. The identifiers sid, mid and aid2 identify a single item, a listing and an action.>The name for this resource, used as a path segment in routing.6A description of the resource, used for documentation.*The schema for routing and identification.;Private resources are not documented, but they are exposed.%How to run a subresource given an id.0List handler, both toplevel and deeper (search).Static actions, e.g. signin.'Get a single resource identified by id.*Update a single resource identified by id.*Delete a single resource identified by id..Create a single resource, generating a new id.'Actions performed on a single resource. Properties of a single resource."Create an empty resource given an Y function. It has no name, so if you wish to route to this resource, you should set one.IMake a resource that doesn't add any information for subresources (i.e.  is set to _).RMake a resource that provides the single resource identifier to its subresources.xMake a resource that provides the single resource identifier to its subresources, by giving a conversion function to a `. If s is a newtype around `7, for example, the function should unwrap the newtype.abcNone!">&An API is a list of versioned routers.{An API version has three parts. The first is two are used for API breaking changes, the last for non-API breaking changes.A  is a  and a list of subresources.2An existential where the second argument has kind (* -> *).FConvenience constructor constructing a route without any subresource.4Add the second router as a subresource to the first.Operators with the right fixities to allow you to define routes without using parentheses. Start with the shortest near the root.Operators with the right fixities to allow you to define routes without using parentheses. Start with the shortest near the root.Operators with the right fixities to allow you to define routes without using parentheses. Start with the shortest near the root.Operators with the right fixities to allow you to define routes without using parentheses. Start with the shortest near the root.Operators with the right fixities to allow you to define routes without using parentheses. Start with the shortest near the root.Operators with the right fixities to allow you to define routes without using parentheses. Start with the shortest near the root.0An empty router to use as the root for your API.Smart constructor for .!Get the latest version of an API.Parse a @ as a J. The string should contain two or three numbers separated by dots, e.g. 1.12.3.TLook up a version in an API. The string can either be a valid version according to , or "latest".Look up a version in the API.@Given a version string, an API and a fallback, do the following:%Parse the version number or "latest".Look up this version.$If ok, run the given function on it.,If not parsed or found, return the fallback.dd None;IN efghi None!"4INjklmnopqrstuvwxyz{| jklmnopqrstuvwxyz{| NoneC}~ }~ None !"*+4;CFIN0     0     0     +     None     NoneINNonew !"#$%&'()*+,-./0123456789:;<=>?c CDEFGHIJKLMNOPQRSTUVWXYZ[\delmnoprstuwxyz{|}~ ! "#$%&'()*+,-./01234567879:;:<=>?@ABCDEFGHIJKLLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwwxyz{{|}~            M                              !"#$%&'())*+,-./0123456789:;<<=>?@A?BCDEFGHIJKLM?NOPQRSTUVUUUWUWUXUX?YZ[\][\^_`abc?defghi?@j_`klmlnlnopqprpsptpu v w M x y z { | } ~               restc_2JyuMh2clqMBFzLMfjZJhuRest.Dictionary.Types Rest.Handler Rest.ErrorRest.Dictionary.CombinatorsRest.Container Rest.Schema Rest.ResourceRest.ApiRest.Driver.TypesRest.Driver.PerformRest.Driver.RestMRest.Driver.Routing.InternalRest.Run Rest.ShowUrl Rest.InfoRest.DictionaryRest.Driver.RoutingRestDictrestt_0GtotiX35qjIVOx1dGwBIBRest.Types.RangecountoffsetRangemapEorThrow orThrowWitheitherToStatus domainReason>|< FromMaybeDictsNoneErrorsOutputsInputsErrorJsonEXmlEOutputFileORawXmlOJsonOXmlOStringO MultipartOInputJsonIReadIStringIFileIXmlIXmlTextIRawXmlIParamNoParam TwoParamsHeaderNoHeader TwoHeadersIdentReadIdStringIdFormat XmlFormat JsonFormat StringFormat FileFormatMultipartFormatNoFormatdictsgetDicts getDicts_modDictsModifier SomeErrorheadersparamsinputsoutputserrorsemptymkHeader addHeadermkParaddParsomeIstringIxmlTextIfileIreadIxmlIrawXmlIjsonIsomeOstringOfileOxmlOrawXmlOjsonO multipartOsomeEjsonExmlExmlJsonIxmlJsonOxmlJsonExmlJsonlistIlistOmappingImappingOstatusOreasonEdefaultE ListHandlerHandlerApply GenHandler dictionaryhandlersecureEnvheaderparaminput mkGenHandler secureHandler mkListingrangemkOrderedListing orderedRange mkHandlermkInputHandlermkConstHandler mkIdHandlerEndpointIdGetter SingletonBy CardinalitySingleManyStepNamedUnnamedSchema withListing noListing singletonnamedstaticsinglesingleBy singleReadlisting listingBy listingRead unnamedSingleunnamedSingleReadunnamedListingunnamedListingReadResourcename descriptionschemaprivateenterliststaticsgetupdateremovecreateactionsselects mkResource mkResourceIdmkResourceReadermkResourceReaderWithApiVersionfullmajorminorRouterEmbedSome1routecompose-/--/---/----/-----/------/root mkVersionlatest parseVersion lookupVersionlookupVersion' withVersionConfigrunMultiResourcesRunnableHandlerRun mapHandler getHeader getParametergetBody getMethodgetPathslookupMimeType setHeadersetResponseCode writeResponse failureWriteracceptRestM RestOutput headersSet responseCode RestInput parametersbodymethodpaths mimeTypes emptyInputrunRestM runRestM_unRouter RouterDataconfigUriPartsapiError runRouter routeWith routeRoot routeMultiGet routeRouter routeToplevel routeCreate routeStep routeNamed routeUnnamed routeGettermultirouteListGetterwithSubresource routeSingle routeNamerouteListHandler lookupRouter parseIdentsplitUriString popSegment withSegment noRestPath guardNullPath hasMethod guardMethod mkListHandler mkListActionmkMultiHandlermkMultiGetHandlerdefaultRunMultiResources defaultConfig runResource routeResource toRestInput mkHeaders mkBodyPart fromMaybeT apiToHandler apiToHandler'apiToHandlerWithRest.Types.ShowUrlshowUrlShowUrlRest.Types.InfoexampledescribeInfoRest.Types.ErrorReasontoEither fromEitherUnsupportedFormat MissingField PrintError ParseError DataErrorreason DomainReasonSuccessFailureStatusReason_ CustomReasonGoneBusyAuthenticationFailed NotAllowedNotFound OutputError InputError ParamError HeaderError IdentErrorUnsupportedVersionUnsupportedMethodUnsupportedRoute SomeReasontoResponseCodeToResponseCodebaseGHC.BaseStringGHC.ReadReadTFCo:R:FromMaybebJustTFCo:R:FromMaybebNothing $fShowParam $fShowHeadertext_1l1AN4I48k37RaQ6fm6CEhData.Text.Internal.LazyTextbytes_6elQVSg5cWdFrvRnfxTUrHData.ByteString.Lazy.Internal ByteStringGHC.ShowShowhxt_J2S0iZ3ycOQHaxoYSwPUmOText.XML.HXT.Arrow.Pickle.Xml XmlPickler mkStatusDict intersectRest.Types.ContaineritemsList SomeOutputData.Functor.IdentityIdentityghc-prim GHC.TypesFalseTruetrans_3eG64VdP2vzGjP6wJiCp5XControl.Monad.Trans.ReaderReaderTFCo:R:Apply[]aTFCo:R:ApplyIdentitya Data.EitherLeft singleIdent listingIdentunnamedSingleIdentunnamedListingIdentidReaderTRest.Types.VoidmagicVoid $fShowVersionRest.Types.MethodDELETEPOSTPUTGETMethod fetchInputsparseContentTypeparser contentType validator outputWriterunsupportedFormat tryOutputsoutputMultipart $fRestMaybeT$fRestIdentityT $fRestWriterT $fRestStateT $fRestReaderT $fRestRWST $fRestExceptT $fRestContTunRestM outputHeader outputCode $fRestRestM$fMonadTransRestM$fMonoidRestOutput