haddock-style

DescriptionHow to print Haddock comments
Options
  • single-line
  • multi-line
  • multi-line-compact
Defaultmulti-line
Ormolusingle-line
Sincev0.2.0.0

Examples

-- | Get the user with the given username
getUser :: String -> IO (Maybe User)

{- | Same as 'getUsername', except throw
an error if the user doesn't exist.
-}
loadUser :: String -> IO User
-- | Get the user with the given username
getUser :: String -> IO (Maybe User)

-- | Same as 'getUsername', except throw
-- an error if the user doesn't exist.
loadUser :: String -> IO User
-- | Get the user with the given username
getUser :: String -> IO (Maybe User)

{-| Same as 'getUsername', except throw
an error if the user doesn't exist.
-}
loadUser :: String -> IO User

For more examples, see the test files.

See also