Hoogle Search
Within LTS Haskell 24.39 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
MsgInvalidHexColorFormat :: Text -> FormMessageyesod-form Yesod.Form.Types No documentation available.
MsgInvalidTimeFormat :: FormMessageyesod-form Yesod.Form.Types No documentation available.
type
WForm (m :: Type -> Type) a = MForm WriterT [FieldView HandlerSite m] m ayesod-form Yesod.Form.Types MForm variant stacking a WriterT. The following code example using a monadic form MForm:
formToAForm $ do (field1F, field1V) <- mreq textField MsgField1 Nothing (field2F, field2V) <- mreq (checkWith field1F textField) MsgField2 Nothing (field3F, field3V) <- mreq (checkWith field1F textField) MsgField3 Nothing return ( MyForm <$> field1F <*> field2F <*> field3F , [field1V, field2V, field3V] )
Could be rewritten as follows using WForm:wFormToAForm $ do field1F <- wreq textField MsgField1 Nothing field2F <- wreq (checkWith field1F textField) MsgField2 Nothing field3F <- wreq (checkWith field1F textField) MsgField3 Nothing return $ MyForm <$> field1F <*> field2F <*> field3F
-
yesod-form Yesod.Form.Types No documentation available.
hasWhiteSpaceBefore :: BufferM Boolyi-core Yi.Buffer.HighLevel No documentation available.
transformB :: (YiString -> YiString) -> TextUnit -> Direction -> BufferM ()yi-core Yi.Buffer.Normal Transforms the region given by TextUnit in the Direction with user-supplied function.
transformB :: (YiString -> YiString) -> TextUnit -> Direction -> BufferM ()yi-core Yi.Buffer.TextUnit Transforms the region given by TextUnit in the Direction with user-supplied function.
displayHelpFor :: Text -> YiM ()yi-core Yi.Command.Help Displays help for a given name, or help index, if no name is given
hasWhiteSpaceBefore :: BufferM Boolyi-core Yi.Config.Simple No documentation available.
transformB :: (YiString -> YiString) -> TextUnit -> Direction -> BufferM ()yi-core Yi.Config.Simple Transforms the region given by TextUnit in the Direction with user-supplied function.