Skip to content

Commit

Permalink
fix replaceFunction docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfpleite committed Aug 20, 2024
1 parent a7caf2d commit 8373e8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Install/Function/ReplaceFunction.elm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Install.Function.ReplaceFunction exposing (Config, config)
"view"
"""view model =
Html.text "This is a test\""""
|> Install.Function.ReplaceFunction.makeRule
|> Install.replaceFunction
Running this rule will replace the function `view` in the module `Frontend` with the provided implementation.
Expand All @@ -20,7 +20,7 @@ The form of the rule is the same for nested modules:
"Foo.Bar"
"earnInterest"
"hoho model = { model | interest = 1.03 * model.interest }"
|> Install.Function.ReplaceFunction.makeRule
|> Install.replaceFunction
@docs Config, config
Expand Down

0 comments on commit 8373e8c

Please sign in to comment.