Hoogle Search
Within LTS Haskell 24.65 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
yesod-form Yesod.Form.Functions Creates a hidden field on the form that identifies it. This identification is then used to distinguish between missing and wrong form data when a single handler contains more than one form. For instance, if you have the following code on your handler:
((fooRes, fooWidget), fooEnctype) <- runFormPost fooForm ((barRes, barWidget), barEnctype) <- runFormPost barForm
Then replace it with((fooRes, fooWidget), fooEnctype) <- runFormPost $ identifyForm "foo" fooForm ((barRes, barWidget), barEnctype) <- runFormPost $ identifyForm "bar" barForm
Note that it's your responsibility to ensure that the identification strings are unique (using the same one twice on a single handler will not generate any errors). This allows you to create a variable number of forms and still have them work even if their number or order change between the HTML generation and the form submission. identA :: HasAttributes c => Lens' c BufferIdyi-core Yi.Buffer.Misc No documentation available.
identString :: FBuffer -> Textyi-core Yi.Buffer.Misc Gets the buffer's identifier string, emphasising the MemBuffer:
>>> let memBuf = newB (BufferRef 0) (MemBuffer "foo/bar/hello") "" >>> identString memBuf "*foo/bar/hello*" >>> let fileBuf = newB (BufferRef 0) (FileBuffer "foo/bar/hello") "" >>> identString fileBuf "foo/bar/hello"
identA :: HasAttributes c => Lens' c BufferIdyi-core Yi.Config.Simple No documentation available.
identString :: FBuffer -> Textyi-core Yi.Config.Simple Gets the buffer's identifier string, emphasising the MemBuffer:
>>> let memBuf = newB (BufferRef 0) (MemBuffer "foo/bar/hello") "" >>> identString memBuf "*foo/bar/hello*" >>> let fileBuf = newB (BufferRef 0) (FileBuffer "foo/bar/hello") "" >>> identString fileBuf "foo/bar/hello"
idAutomaton :: (Ord a, Eq a) => P a ayi-core Yi.Interact No documentation available.
idAutomaton :: (Ord a, Eq a) => P a ayi-core Yi.Keymap.Keys No documentation available.
ident :: Attributes -> !BufferIdyi-core Yi.Types No documentation available.
-
deriving-compat Data.Deriving.Internal No documentation available.
-
deriving-compat Data.Deriving.Internal No documentation available.