!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      Safe-Inferred24QType class representing information about the read/show function on a data type.None !"*+<=KM !Wrap your custom error type in a U. The first argument is a function for converting your error to an HTTP status code. %      !"#$%   None!"*3JK 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 explicitly dictionary I describes how to translate some Haskell error value to a response body.The explicitly 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 explicitly 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  Parameterb 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 ' instance.0The 0E datatype enumerates all input and output formats we might recognize.8)Type synonym for dictionary modification.9;Custom existential packing an error together with a Reason.@+The empty dictionary, recognizing no types.8(  !"#$%&'()*+,-./01234567)*89:;<=>?@5  !"#$%&'()*+,-./0123456789:;<=>?@50654321;<=>?@8-/.),+*%('&$#"!  79:( $#"! %('&),+*-/.06543217)*89:;<=>?@NoneA2Set custom sub-dictionary for recognizing headers.B2Add custom sub-dictionary for recognizing headers.C5Set custom sub-dictionary for recognizing parameters.D5Add custom sub-dictionary for recognizing parameters.E:Open up input type for extension with custom dictionaries.F"Allow direct usage of as input as &.G*Allow direct usage of as input as raw Xml +.H8Allow usage of input as file contents, represented as a ,.I,The input can be read into some instance of 'D. For inspection reasons the type must also be an instance of both  and -.J,The input can be read into some instance of ..K The input can be used as an XML ,.L,The input can be read into some instance of Json.M;Open up output type for extension with custom dictionaries.NAllow output as plain String.OFAllow file output using a combination of the raw data and a mime type.PAllow output as XML using the . type class.Q)Allow output as raw XML represented as a ,.RAllow output as JSON using the Json type class.SbAllow output as multipart. Writes out the ByteStrings separated by boundaries, with content type 'multipart/mixed'.T:Open up error type for extension with custom dictionaries.U%Allow error output as JSON using the Json type class.V$Allow error output as XML using the . type class.W1The input can be read into some instance of both Json and ..XAllow output as JSON using the Json/ type class and allow output as XML using the . type class.Y%Allow error output as JSON using the Json/ type class and allow output as XML using the . type class.Z1The input can be read into some instance of both Json and .% and allow output as JSON using the Json/ type class and allow output as XML using the . type class.ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZEFGHIJKLMNOPQRSTUVWXYZABCDABCDEFGHIJKLMNOPQRSTUVWXYZNoneO  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZNone !"+24<=KM[\]^_/0` 1234567[\]^_`[\]^_`[\]^_/0`None!"+=EKa@Data type for representing the requested range in list handlers.eA f returning a list of items.fA f returning a single item.gApply a Functor f to a type a. In general will result in f a , except if f is 8#, in which case it will result in a. This prevents a lot of 8 wrapping/unwrapping.hNA handler for some endpoint. The input and output types are specified by the j3, which can be created using the combinators from Rest.Dictionary.Combinators>. The inputs (headers, parameters and body) are passed as an m to the k. 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 l flag is set, this suggests to clients that the resource should only be served over https. It has no effect when running the API.mMAn environment of inputs passed to a handler. Contains information from the os, the peters and the body q.r Construct a h using a 8 instead of a . The l flag will be 9.sSet l to :.tJSmart constructor for creating a list handler. Restricts the type of the  dictionary to uDictionary for taking a+ 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.vTCreate a list handler that accepts ordering information. Restricts the type of the  dictionary to wWDictionary for taking ordering information. In addition to the parameters accepted by u, this accepts order and  direction.xOCreate a handler for a single resource. Takes the entire environmend as input.yRCreate a handler for a single resource. Takes only the body information as input.z?Create a handler for a single resource. Doesn't take any input.{oCreate a handler for a single resource. Take body information and the resource identifier as input. The monad m should be a ;#-like type containing the idenfier.abcdefghijklmnopqrstuvwxyz{<=abcdefghijklmnopqrstuvwxyz{xyz{tvabcduwmnopqhijklrgfesabcdefghijklmnopqrstuvwxyz{<=None:HM |}~ |}~ |~}|~}None!"HM NoneB>?@ABCD >?@ABCD None:M@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 (E%) 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.F1A 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.G)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.H;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.I2An unnamed listing identified as specified by the -.!FGHIFGHI None !"2346=HMThe p type is used as the identifier for resources that can't be routed to. It contains no values apart from bottom.The 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 J).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 convertion function to a K. If s is a newtype around K7, for example, the function should unwrap the newtype. None!"=&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.LL None !"*+3:BEHM%MNOPQRSTUVWXYZ[\]^_`abcdefghijkl#MNOPQRSTUVWXYZ[\]^_`abcdefghijklNoneHMNoneu      !"#$% ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefmnopqstuvxyz{m !"#$%&'()*+,-./012345657898:;<=>?@ABCDEFGGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnnopqrsttuvwxxyz{|}~H      H                                 !"#!$%&'()*+,-!./012345656575p5o58589:;<=><=?9@ABC  D E F G H I!JK L M N O!"P9@Q R   S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o pqrest-core-0.32.0.2Rest.Dictionary.Types Rest.Info Rest.ErrorRest.Dictionary.CombinatorsRest.Container Rest.HandlerRest.Driver.TypesRest.Driver.PerformRest.Driver.RestM Rest.Schema Rest.ResourceRest.ApiRest.Driver.RoutingRest.RunRest.DictionaryRestDictInfodescribeexample $fInfoInteger $fInfoInt $fInfoText$fInfo[]mapEorThrow orThrowWitheitherToStatus domainReasonDictsNoneErrorsOutputsInputsErrorXmlEJsonEOutput MultipartOStringOXmlOJsonORawXmlOFileOInputRawXmlIXmlTextIXmlIFileIStringIReadIJsonIParam TwoParamsNoParamHeader TwoHeadersNoHeaderIdentStringIdReadIdFormatNoFormatMultipartFormat FileFormat StringFormat JsonFormat XmlFormatdictsModifier SomeErrorheadersparamsinputsoutputserrorsemptymkHeader addHeadermkParaddParsomeIstringIxmlTextIfileIreadIxmlIrawXmlIjsonIsomeOstringOfileOxmlOrawXmlOjsonO multipartOsomeEjsonExmlExmlJsonIxmlJsonOxmlJsonExmlJsonlistIlistOmappingImappingOstatusOreasonERangeoffsetcount ListHandlerHandlerApply GenHandler dictionaryhandlersecureEnvheaderparaminput mkGenHandler secureHandler mkListingrangemkOrderedListing orderedRange mkHandlermkInputHandlermkConstHandler mkIdHandlerMethodUnknownDELETEPOSTPUTGETRunnableHandlerRun mapHandler getHeader getParametergetBody getMethodgetPathslookupMimeType setHeadersetResponseCode writeResponse fetchInputsparseContentType parametersparser failureWriter contentType validator outputWriteroutputMultipartaccept $fRestMaybeT$fRestIdentityT $fRestWriterT $fRestStateT $fRestReaderT $fRestRWST $fRestErrorT $fRestContTRestM RestOutput headersSet responseCode RestInputbodymethodpaths mimeTypes emptyInputrunRestM runRestM_EndpointIdGetterBy Singleton CardinalityManySingleStepUnnamedNamedSchema withListing noListing singletonnamedstaticsinglesingleBy singleReadlisting listingBy listingRead unnamedSingleunnamedSingleReadunnamedListingunnamedListingReadVoidmagicResourcename descriptionschemaprivateenterliststaticsgetupdateremovecreateactionsselects mkResource mkResourceIdmkResourceReadermkResourceReaderWithApiVersionfullmajorminorRouterEmbedSome1routecompose-/--/---/----/-----/------/root mkVersionlatest parseVersion lookupVersionlookupVersion' withVersionUriPartssplitUriString mkListHandlermkMultiHandler apiToHandler apiToHandler'rest-types-1.10.2Rest.Types.ErrorReason SomeReasontoEither fromEitherReason_UnsupportedRouteUnsupportedMethodUnsupportedVersion IdentError HeaderError ParamError InputError OutputErrorNotFound NotAllowedAuthenticationFailedBusyGone CustomReason ParseError PrintError MissingFieldUnsupportedFormat DataErrorreason DomainReasonFailureSuccessStatusbaseGHC.BaseStringGHC.ReadRead $fShowParam $fShowHeader text-1.2.0.0Data.Text.Internal.LazyTextbytestring-0.10.4.0Data.ByteString.Lazy.Internal ByteStringGHC.ShowShow hxt-9.3.1.7Text.XML.HXT.Arrow.Pickle.Xml XmlPickler mkStatusDict intersectRest.Types.Container SomeOutputitemsListtransformers-0.3.0.0Data.Functor.IdentityIdentityghc-prim GHC.TypesFalseTrueControl.Monad.Trans.ReaderReaderTFCo:R:Apply[]aTFCo:R:ApplyIdentityaunRestM outputHeader outputCode $fRestRestM$fMonadTransRestM$fMonoidRestOutput Data.EitherLeft singleIdent listingIdentunnamedSingleIdentunnamedListingIdentidReaderT $fShowVersionunRouterapiError runRouter routeRoot routeMultiGet routeRouter routeToplevel routeCreate routeStep routeNamed routeUnnamed routeGettermultirouteListGetterwithSubresource routeSingle routeNamerouteListHandler lookupRouter parseIdent popSegment withSegment noRestPath guardNullPath hasMethod guardMethod mkListActionmkMultiGetHandler runResource fromMaybeT