! /~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}SafeYditto+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 Int 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    NoneHMVJ[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. dittoA 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.&dittoused 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./ditto2Utility Function: trivially prove nothing about ()0ditto'Utility function: Get the current input1ditto1Utility function: Gets the input of an arbitrary .2ditto'Utility function: Get the current range3ditto&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:;<=>?#+,.-/*&)('012#%$345 !"6789:;<=>?<6=5NoneX IdittoA I+ 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 IK has a unique data-type associated with it which names the proof, such as:Kditto!function which provides the proofLdittoapply a I to a Mditto transform a  using a I!, and the replace the proof with ().LThis is useful when you want just want classic digestive-functors behaviour.Ndittotransform the  result using a monadic  function.Odittotransform the  result using an  function.Pdittoprove that a list is not emptyQditto+read an unsigned number in decimal notationRdittoread signed decimal numberSdittoread  numberTdittoread a signed  numberQdittocreate an error message (! is the value that did not parse) IJKLMNOPQRST IJKLMNOPQRSTSafe@AHVf Uditto*Class which all backends should implement.Vdittoinput[ is here the type that is used to represent a value uploaded by the client in the request.WdittoVParse the input into a string. This is used for simple text fields among other thingsXdittoShould be implementedYdittoParse the input value into Zditto(Can be overriden for efficiency concerns[ditto*Get a file descriptor for an uploaded file\dittoA Class to lift a _( into an application-specific error type_dittoFan 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 \ class.fditto some default error messages for _fdittoshow input( in a format suitable for error messagesdittoa _U[ZYXWV\^]_edcba`f_edcba`f\^]U[ZYXWVNone)HVXy 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"> boxesdittoradio buttons, single <select> boxesdittoradio buttons, single <select> boxesdittoused to create <label> elementsditto(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 initiallyditto is defaultditto value, labelditto!function which generates the viewditto value, labelditto!function which generates the viewditto0function to convert the err messages into a view None)HVXs jditto$used for constructing elements like <input type="text">", which pure a single input value.kdittoused for elements like <input type="submit">: which are not always present in the form submission data.ldittoused for elements like <input type="reset">@ which take a value, but are never present in the form data set.mditto used for <input type="file">ndittoused for groups of checkboxes, <select multiple="multiple"> boxesodittoradio buttons, single <select> boxespdittoradio buttons, single <select> boxesqdittoused to create <label> elementsrditto(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 <.sditto similar to r= but includes err messages from children of the form as well.ndittovalue, label, initially checkedditto!function which generates the viewdittoisChecked/isSelected initiallyoditto is defaultditto value, labelditto!function which generates the viewpditto value, labelditto!function which generates the viewrditto0function to convert the err messages into a view jklmnopqrs jklmnopqrsNoneHVXU tditto$used for constructing elements like <input type="text">", which pure a single input value.udittoused for elements like <input type="submit">: which are not always present in the form submission data.vdittoused for elements like <input type="reset">@ which take a value, but are never present in the form data set.wditto used for <input type="file">xdittoused for groups of checkboxes, <select multiple="multiple"> boxesydittoradio buttons, single <select> boxeszdittoradio 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.xdittovalue, label, initially checkedditto!function which generates the viewdittoisChecked/isSelected initiallyyditto is defaultditto value, labelditto!function which generates the viewzditto value, labelditto!function which generates the view|ditto0function to convert the err messages into a view tuvwxyz{|} tuvwxyz{|}NoneT  !"#$%&'()*+,-./0123456789:;<=>?IJKLMNOPQRSTUVWXYZ[\]^_`abcdef        !"#$$%&&'(()*+,-.//0123456789:;<=>?@ABCDEFGHIJKLLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstulmnopqrstuvwxyz{|v}~vvlmnopqrstu$ditto-0.1.2.0-Ko9L602Wj1M1NLICoIZTzx Ditto.Result Ditto.Core Ditto.Proof Ditto.BackendDitto.Generalized.NamedDitto.GeneralizedDitto.Generalized.InternalDitto FormRangeFormId FormIdCustom formPrefix formIdListResultErrorOk getResultzeroIdmapIdincrementFormId unitRange isInRange isSubRange retainErrorsretainChildErrors $fShowFormId$fApplicativeResult $fMonadResult$fFunctorResult $fEqFormId $fOrdFormId $fEqFormRange$fShowFormRange $fShowResult $fEqResultFormunFormViewunView Environment NoEnvironmentValueDefaultMissingFound FormStateProvedposunProved unitProved getFormInput getFormInput' getFormRange getFormIdgetNamedFormId incFormId bracketStaterunFormrunForm'viewForm eitherFormview++><++mapViewmkOk$fFunctorProved$fMonoidEnvironment$fSemigroupEnvironment $fFunctorView$fApplicativeForm $fFunctorForm $fShowProved$fSemigroupView $fMonoidViewProof proofFunctionprove transformtransformEitherMtransformEither notNullProofdecimal signedDecimalrealFracrealFracSigned FormInputFileTypegetInputStringgetInputStrings getInputText getInputTexts getInputFile FormErrorErrorInputTypecommonFormErrorCommonFormError InputMissing NoStringFound NoFileFoundMultiFilesFoundMultiStringsFoundMissingDefaultValuecommonFormErrorStr$fEqCommonFormError$fOrdCommonFormError$fShowCommonFormErrorinput inputMaybe inputNoData inputFile inputMulti inputChoiceinputChoiceFormslabelerrors childErrorsbase GHC.MaybeMaybeformIdghc-prim GHC.TypesInt Data.EitherEitherGHC.RealRealFracGHC.BaseString text-1.2.3.1Data.Text.InternalText