haddock-style
Description | How to print Haddock comments |
---|---|
Options |
|
Default | multi-line |
Ormolu | single-line |
Since | v0.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.