Add missing doc comment.

This commit is contained in:
Dillon Kearns 2022-09-06 11:04:11 -07:00
parent 880b32563d
commit 4689157d47
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,12 +1,11 @@
module Pages.Transition exposing
( Transition(..), LoadingState(..)
( Transition(..), LoadingState(..), map
, FetcherState, FetcherSubmitStatus(..)
, map
)
{-|
@docs Transition, LoadingState
@docs Transition, LoadingState, map
## Fetchers
@ -49,6 +48,7 @@ type FetcherSubmitStatus actionData
| FetcherComplete actionData
{-| -}
map : (a -> b) -> FetcherState a -> FetcherState b
map mapFn fetcherState =
{ status = mapStatus mapFn fetcherState.status