R|      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{ Safe-Inferred+A range of ID's to specify a group of formsAn ID used to identify forms|Global prefix for the form:Stack indicating field. Head is most specific to this itemType for failing computations convert a  to }! discarding the error message on -The zero ID, i.e. the first ID that is usable map a function over the  [Integer] inside a ~ get the head  from a  Increment a form ID  create a  from a   Check if a  is contained in a   Check if a  is contained in another %Select the errors for a certain rangeVSelect the errors originating from this form or from any of the children of this form| ~ Id to check forRangeIf the range contains the id  Sub-range Larger range1If the sub-range is contained in the larger range   | ~  Safe-Inferred6=K *Class which all backends should implement.input[ is here the type that is used to represent a value uploaded by the client in the request.VParse the input into a string. This is used for simple text fields among other thingsShould be implementedParse the input value into (Can be overriden for efficiency concerns*Get a file descriptor for an uploaded fileA Class to lift a ( into an application-specific error typeFan error type used to represent errors that are common to all backendskThese errors should only occur if there is a bug in the reform-* packages. Perhaps we should make them an  Exception so that we can get rid of the  class.! some default error messages for  !show input( in a format suitable for error messagesa  ! ! !NoneB "&a wrapper which lifts a value with an ' instance so that it can be used as an * or % kd :: WrappedApplicative Maybe y Char d = WrappedApplicative (Just succ) <<*>> WrappedApplicative (Just 'c')%a class for a 'type-indexed' or  paramaterized applicative functorsrnote: not sure what the most correct name is for this class, or if it exists in a well supported library already.& similar to ' similar to ( similar to ) similar to  *a class for a 'type-indexed' or  paramaterized functorrnote: not sure what the most correct name is for this class, or if it exists in a well supported library already.+imap is similar to fmap, similar to  . An alias for imap id- A variant of ' with the arguments reversed..FLift a function to actions. This function may be used as a value for + in a * instance./"Lift a binary function to actions.0"Lift a binary function to actions."#$%&'()*+$function to apply to first parameter%function to apply to second parameterindexed functor,-./012"#$%&'()*+,-./0*+%&'(),-./0"#$21 "#$%&'()*+,-./012'(),None24B3a 3 contains a 6e combined with a validation function which will attempt to extract a value from submitted form data.It is highly parameterized, allowing it work in a wide variety of different configurations. You will likely want to make a type alias that is specific to your application to make type signatures more manageable. m*A monad which can be used by the validatorinputUA framework specific type for representing the raw key/value pairs from the form dataerror.A application specific type for error messagesviewKThe type of data being generated for the view (HSP, Blaze Html, Heist, etc)proof@A type which names what has been proved about the return value. () means nothing has been proved.aEValue return by form when it is successfully decoded, validated, etc.!This type is very similar to the 3 type from digestive-functors <= 0.2. If proof is (), then 3A is an applicative functor and can be used almost exactly like digestive-functors <= 0.2.6A view represents a visual representation of a form. It is composed of a function which takes a list of all errors and then produces a new view9;The environment is where you get the actual input per form.The : constructor is typically used when generating a view for a GET request, where no data has yet been submitted. This will cause the input elements to use their supplied default values. Note that  NoEnviroment2 is different than supplying an empty environment.<used to represent whether a value was found in the form submission data, missing from the form submission data, or expected that the default value should be used@inner state used by 3.AiProved records a value, the location that value came from, and something that was proved about the value.F2Utility Function: trivially prove nothing about ()G'Utility function: Get the current inputH1Utility function: Gets the input of an arbitrary .I'Utility function: Get the current rangeJ&Utility function: returns the current 8. This will only make sense if the form is not composedK(Utility function: increment the current .M Run a formN Run a formOUJust evaluate the form to a view. This usually maps to a GET request in the browser.PEvaluate a formReturns:  Left viewon failure. The view. will have already been applied to the errors.Right a on success.Q create a 3 from some view.+This is typically used to turn markup like <br> into a 3.RRAppend a unit form to the left. This is useful for adding labels or error fields.The Forms6 on the left and right hand side will share the same #. This is useful for elements like <label for="someid">4, which need to refer to the id of another element.S%Append a unit form to the right. See R.T1Change the view of a form using a simple functionRThis is useful for wrapping a form inside of a <fieldset> or other markup element.UAUtility Function: turn a view and return value into a successful @[xNot quite sure when this is useful and so hard to say if the rules for combining things with Missing/Default are correct*3456789:;<=>?@ABCDEFGHIJKLMNO form prefix form to viewPInput environmentIdentifier for the form Form to runResultQView to insertResulting formRST Manipulator Initial formResulting formUVWXYZ[\#3456789:;<=>?@ABCDEFGHIJKLMNOPQRSTU*ABCDE\F@<?>=GHI9;:[JK678Z345YXLWVMNOPQRSTU3456789;:<?>=@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\RSNone =KM ]$used for constructing elements like <input type="text">$, which return a single input value.^used for elements like <input type="submit">: which are not always present in the form submission data._used for elements like <input type="reset">@ which take a value, but are never present in the form data set.` used for <input type="file">aused for groups of checkboxes, <select multiple="multiple"> boxesbradio buttons, single <select> boxescradio buttons, single <select> boxesdused to create <label> elementse*used to add a list of error messages to a 3This function automatically takes care of extracting only the errors that are relevent to the form element it is attached to via S or R.f similar to e? but includes error messages from children of the form as well. ]^_`avalue, label, initially checked!function which generates the viewisChecked/isSelected initiallyb is default value, label!function which generates the viewc value, label!function which generates the viewde2function to convert the error messages into a viewf ]^_`abcdef ]^_`abcdef ]^_`abcdefNoneg2proof that a number is also (allowed to be) signedi proof that a  is a Real/Fractional numberk proof that a  is a decimal numbermproof that a list is not emptyoA o+ attempts to prove something about a value.pIf successful, it can also transform the value to a new value. The proof should hold for the new value as well.Generally, each oK has a unique data-type associated with it which names the proof, such as: data NotNull = NotNullqname of the thing to prover!function which provides the proofsapply a o to a 3t transform a 3 using a o!, and the replace the proof with ().LThis is useful when you want just want classic digestive-functors behaviour.utransform the 3 result using a monadic  function.vtransform the 3 result using an  function.wprove that a list is not emptyx+read an unsigned number in decimal notationyread signed decimal numberzread  number{read a signed  numberghijklmnopqrstuvwxcreate an error message (! is the value that did not parse)yz{ghijklmnopqrstuvwxyz{opqrstuvmnwklijghxyz{ghijklmnopqrstuvwxyz{ Nonew  !3456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUghijklmnopqrstuvwxyz{   !"#$%&'()*+,-../0123456789:;<=>>?@@ABCBDEFGHIIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnnooppqqrrstuvwxyz{|}~ reform-0.2.6Text.Reform.ResultText.Reform.BackendControl.Applicative.IndexedText.Reform.CoreText.Reform.GeneralizedText.Reform.ProofControl.Applicative*><* Data.Functor<$> Text.Reform FormRangeFormId formIdListResultOkError getResultzeroIdmapIdincrementFormId unitRange isInRange isSubRange retainErrorsretainChildErrors FormInputFileTypegetInputStringgetInputStrings getInputText getInputTexts getInputFile FormErrorErrorInputTypecommonFormErrorCommonFormErrorMissingDefaultValueMultiStringsFoundMultiFilesFound NoFileFound NoStringFound InputMissingcommonFormErrorStrWrappedApplicativeunwrapApplicativeIndexedApplicativeipure<<*>>*>><<*IndexedFunctorimap<<$>><<**>>liftIAliftIA2liftIA3&$fIndexedApplicativeWrappedApplicative"$fIndexedFunctorWrappedApplicativeFormunFormViewunView Environment NoEnvironmentValueFoundMissingDefault FormStateProvedproofsposunProved unitProved getFormInput getFormInput' getFormRange getFormId incFormId bracketStaterunFormrunForm'viewForm eitherFormview++><++mapViewmkOk$fApplicativeForm $fFunctorForm$fIndexedApplicativeForm$fIndexedFunctorForm $fFunctorView$fMonoidEnvironment$fFunctorProvedinput inputMaybe inputNoData inputFile inputMulti inputChoiceinputChoiceFormslabelerrors childErrorsSignedRealFractionalDecimalNotNullProof proofName proofFunctionprove transformtransformEitherMtransformEither notNullProofdecimal signedDecimalrealFracrealFracSigned formPrefixbase Data.MaybeMaybeformId integer-gmpGHC.Integer.TypeInteger $fShowFormId$fApplicativeResult $fMonadResult$fFunctorResult text-1.2.0.0Data.Text.InternalText Applicativepure<*>GHC.BaseString Data.EitherEitherGHC.RealRealFrac Data.Monoid<>mconcatmappendmemptyMonoidgetDualDualappEndoEndogetAllAllgetAnyAnygetSumSum getProductProductgetFirstFirstgetLastLast