Improves code formatting

* Fixes bug where @<button>@ was being treated as a Haskell function reference
* Uses '<*' instead of @<*@, since <* is a Haskell function (though this doesn't appear to make the link work)
This commit is contained in:
Maximilian Tagher 2014-11-22 17:23:12 -08:00
parent f4e8ac9496
commit 2d31b3155d

View File

@ -203,9 +203,9 @@ data BootstrapSubmit msg =
{ bsValue :: msg
-- ^ The text of the submit button.
, bsClasses :: Text
-- ^ Classes added to the @<button>@.
-- ^ Classes added to the @\<button>@.
, bsAttrs :: [(Text, Text)]
-- ^ Attributes added to the @<button>@.
-- ^ Attributes added to the @\<button>@.
} deriving (Show)
instance IsString msg => IsString (BootstrapSubmit msg) where
@ -224,7 +224,7 @@ instance IsString msg => IsString (BootstrapSubmit msg) where
-- > <*> areq textField "Surname" Nothing
-- > <* bootstrapSubmit ("Register" :: BootstrapSubmit Text)
--
-- (Note that @<*@ is not a typo.)
-- (Note that '<*' is not a typo.)
--
-- Alternatively, you may also just create the submit button
-- manually as well in order to have more control over its