úÎ!Ą“ω      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆSafeøditto+A range of ID's to specify a group of formsdittoAn ID used to identify formsdittoGlobal prefix for the formditto:Stack indicating field. Head is most specific to this itemdittoType for failing computations ditto convert a  to ‰! discarding the error message on  ditto-The zero ID, i.e. the first ID that is usable dittomap a function over the NonEmpty Integer inside a Šditto get the head ‹ from a  dittoIncrement a form IDditto create a  from a ditto Check if a  is contained in a ditto Check if a  is contained in another ditto%Select the errors for a certain rangedittoVSelect the errors originating from this form or from any of the children of this formdittoId to check fordittoRangedittoIf the range contains the idditto Sub-rangeditto Larger rangeditto1If the sub-range is contained in the larger range    None=?MJędittoa  contains a  e 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 pure value. () means nothing has been proved.aCValue pure by form when it is successfully decoded, validated, etc.!This type is very similar to the  type from digestive-functors <= 0.2. If proof is (), then A is an applicative functor and can be used almost exactly like digestive-functors <= 0.2. dittoA 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 view#ditto;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.&dittoĢ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*dittoinner state used by .+dittoiProved records a value, the location that value came from, and something that was proved about the value.0ditto2Utility Function: trivially prove nothing about ()1ditto'Utility function: Get the current input2ditto1Utility function: Gets the input of an arbitrary .3ditto'Utility function: Get the current range4ditto&Utility function: returns the current 8. This will only make sense if the form is not composed5ditto(Utility function: increment the current .7ditto Run a form8ditto Run a form9dittoUJust evaluate the form to a view. This usually maps to a GET request in the browser.:dittoEvaluate a formReturns:  Left viewon failure. The view. will have already been applied to the errors.Right a on success.;ditto create a  from some view.+This is typically used to turn markup like <br> into a .<dittoRAppend 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.=ditto%Append a unit form to the right. See <.>ditto1Change the view of a form using a simple functionRThis is useful for wrapping a form inside of a <fieldset> or other markup element.?ditto?Utility Function: turn a view and pure value into a successful *AdittoxNot quite sure when this is useful and so hard to say if the rules for combining things with Missing/Default are correct9ditto form prefixditto form to view:dittoInput environmentdittoIdentifier for the formditto Form to rundittoResult;dittoView to insertdittoResulting form>ditto Manipulatorditto Initial formdittoResulting form# !"#%$&)('*+,/-.0123456789:;<=>?#+,/-.0*&)('123#%$45 !"6789:;<=>?<6=5None]4Kditto2proof that a number is also (allowed to be) signedMditto proof that a Œ is a Real/Fractional numberOditto proof that a Œ is a decimal numberQdittoproof that a list is not emptySdittoA S+ 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 SK has a unique data-type associated with it which names the proof, such as: data NotNull = NotNullUdittoname of the thing to proveVditto!function which provides the proofWdittoapply a S to a Xditto transform a  using a S!, and the replace the proof with ().LThis is useful when you want just want classic digestive-functors behaviour.Ydittotransform the  result using a monadic  function.Zdittotransform the  result using an  function.[dittoprove that a list is not empty\ditto+read an unsigned number in decimal notation]dittoread signed decimal number^dittoread Ž number_dittoread a signed Ž number\dittocreate an error message (Œ! is the value that did not parse)KLMNOPQRSTVUWXYZ[\]^_STVUWXYZQR[OPMNKL\]^_Safe@AHVk1 `ditto*Class which all backends should implement.adittoinput[ is here the type that is used to represent a value uploaded by the client in the request.bdittoVParse the input into a string. This is used for simple text fields among other thingscdittoShould be implementedddittoParse the input value into editto(Can be overriden for efficiency concernsfditto*Get a file descriptor for an uploaded filegdittoA Class to lift a j( into an application-specific error typejdittoFan error type used to represent errors that are common to all backendsjThese errors should only occur if there is a bug in the ditto-* packages. Perhaps we should make them an  Exception so that we can get rid of the g class.qditto some default error messages for jqdittoshow input( in a format suitable for error messagesdittoa j`fedcbagihjponmlkqjponmlkqgih`fedcbaNone)HVX~[ uditto$used for constructing elements like <input type="text">", which pure a single input value.vdittoused for elements like <input type="submit">: which are not always present in the form submission data.wdittoused for elements like <input type="reset">@ which take a value, but are never present in the form data set.xditto used for <input type="file">ydittoused for groups of checkboxes, <select multiple="multiple"> boxeszdittoradio buttons, single <select> boxes{dittoradio buttons, single <select> boxes|dittoused to create <label> elements}ditto(used to add a list of err messages to a ƒThis function automatically takes care of extracting only the errors that are relevent to the form element it is attached to via = or <.~ditto similar to }= but includes err messages from children of the form as well.ydittovalue, label, initially checkedditto!function which generates the viewdittoisChecked/isSelected initiallyzditto is defaultditto value, labelditto!function which generates the view{ditto value, labelditto!function which generates the view}ditto0function to convert the err messages into a view uvwxyz{|}~ uvwxyz{|}~None)HVX‘E ditto$used for constructing elements like <input type="text">", which pure a single input value.€dittoused for elements like <input type="submit">: which are not always present in the form submission data.dittoused for elements like <input type="reset">@ which take a value, but are never present in the form data set.‚ditto used for <input type="file">ƒdittoused for groups of checkboxes, <select multiple="multiple"> boxes„dittoradio buttons, single <select> boxes…dittoradio buttons, single <select> boxes†dittoused to create <label> elements‡ditto(used to add a list of err messages to a ƒThis function automatically takes care of extracting only the errors that are relevent to the form element it is attached to via = or <.ˆditto similar to ‡= but includes err messages from children of the form as well.ƒdittovalue, label, initially checkedditto!function which generates the viewdittoisChecked/isSelected initially„ditto is defaultditto value, labelditto!function which generates the view…ditto value, labelditto!function which generates the view‡ditto0function to convert the err messages into a view €‚ƒ„…†‡ˆ €‚ƒ„…†‡ˆNone‘Ë€‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąē  !"#$%&'()*+,.-/0123456789:;<=>?KLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqģ       !"##$%%&''()*+,-../0123456789:;<=>?@ABCDEFGHIJKLMMNNOOPPQQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{rstuvwxyz{|}~€‚|ƒ„|…†|‡ˆ‰Š‹|ƒŒ|ƒ|ƒŽ|ƒ|ƒ|‘’|‘’|‘“|‘”|‘”|‘•|‘–|‘–|‘—|˜™|˜™|˜š|˜›|˜›|˜œ|˜|˜|˜ž|˜Ÿ|˜Ÿ|˜ |˜Ą|˜Ą|˜Ē|˜Ģ|˜Ģ|˜Ī|˜Ĩ|˜Ĩ|˜Ķ§$ditto-0.0.1.0-175gUoSOjn060Pf8JkB6DO Ditto.Result Ditto.Core Ditto.Proof Ditto.BackendDitto.Generalized.NamedDitto.GeneralizedDitto FormRangeFormId FormIdCustom formPrefix formIdListResultErrorOk getResultzeroIdmapIdincrementFormId unitRange isInRange isSubRange retainErrorsretainChildErrors $fShowFormId$fApplicativeResult $fMonadResult$fFunctorResult $fEqFormId $fOrdFormId $fEqFormRange$fShowFormRange $fShowResult $fEqResultFormunFormViewunView Environment NoEnvironmentValueDefaultMissingFound FormStateProvedproofsposunProved unitProved getFormInput getFormInput' getFormRange getFormId incFormId bracketStaterunFormrunForm'viewForm eitherFormview++><++mapViewmkOk$fFunctorProved$fMonoidEnvironment$fSemigroupEnvironment $fFunctorView$fApplicativeForm $fFunctorForm$fBiapplicativeForm$fBifunctorForm $fShowProved$fSemigroupView $fMonoidViewSignedRealFractionalDecimalNotNullProof proofName proofFunctionprove transformtransformEitherMtransformEither notNullProofdecimal signedDecimalrealFracrealFracSigned FormInputFileTypegetInputStringgetInputStrings getInputText getInputTexts getInputFile FormErrorErrorInputTypecommonFormErrorCommonFormError InputMissing NoStringFound NoFileFoundMultiFilesFoundMultiStringsFoundMissingDefaultValuecommonFormErrorStr$fEqCommonFormError$fOrdCommonFormError$fShowCommonFormErrorinput inputMaybe inputNoData inputFile inputMulti inputChoiceinputChoiceFormslabelerrors childErrorsbase GHC.MaybeMaybeformId integer-gmpGHC.Integer.TypeIntegerGHC.BaseString Data.EitherEitherGHC.RealRealFrac text-1.2.3.1Data.Text.InternalText<>Monoidmemptymappendmconcat Data.MonoidFirstgetFirstLastgetLastApgetApData.Semigroup.InternalDualgetDualEndoappEndoAllgetAllAnygetAnySumgetSumProduct getProductAltgetAlt