Skip to content

Commit

Permalink
add docs to withInsertAtBeginning
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfpleite committed Jun 2, 2024
1 parent 5426e35 commit 4daa790
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/Install/ClauseInCase.elm
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
module Install.ClauseInCase exposing
( init, makeRule, withInsertAfter, withCustomErrorMessage, Config, CustomError
, withInsertAtBeginning
)
module Install.ClauseInCase exposing (init, makeRule, withInsertAfter, withInsertAtBeginning, withCustomErrorMessage, Config, CustomError)

{-| Add a clause to a case expression in a specified function
in a specified module. For example, if you put the code below in your
Expand Down Expand Up @@ -45,7 +42,7 @@ in a specified module. For example, if you put the code below in your
|> Install.ClauseInCase.withCustomErrorMessage "Add handler for ResetCounter" []
|> Install.ClauseInCase.makeRule
@docs init, makeRule, withInsertAfter, withCustomErrorMessage, Config, CustomError
@docs init, makeRule, withInsertAfter, withInsertAtBeginning, withCustomErrorMessage, Config, CustomError
-}

Expand Down Expand Up @@ -356,6 +353,8 @@ withInsertAfter clauseToInsertAfter (Config config) =
}


{-| Add a clause at the beginning of the case expression.
-}
withInsertAtBeginning : Config -> Config
withInsertAtBeginning (Config config) =
Config
Expand Down

0 comments on commit 4daa790

Please sign in to comment.