Skip to content

Commit

Permalink
Update haddock
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeTemp authored Dec 11, 2023
1 parent f33387d commit bf5d1ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yesod-form/Yesod/Form/Option.hs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import Yesod.Form.Fields
--
-- @example.hs
-- > data UserRole = URSalesTeam | URSalesHead | URTechTeam | URTechHead
--
-- >
-- > instance PathPiece UserDepartment where
-- > toPathPiece = \case
-- > URSalesTeam -> "sales-team"
Expand All @@ -36,7 +36,7 @@ import Yesod.Form.Fields
-- > "tech-team" -> Just URTechTeam
-- > "tech-head" -> Just URTechHead
-- > _ -> Nothing
--
-- >
-- > userRoleOptions ::
-- > (MonadHandler m, RenderMessage (HandlerSite m) msg) => m (OptionList UserRole)
-- > userRoleOptions = optionsFromList' userRoles toMsg
Expand Down

0 comments on commit bf5d1ff

Please sign in to comment.