From 8373e8cee819778f8b09794ee726268a35db7ec7 Mon Sep 17 00:00:00 2001 From: Mateus Date: Tue, 20 Aug 2024 11:20:49 -0300 Subject: [PATCH] fix replaceFunction docs --- src/Install/Function/ReplaceFunction.elm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Install/Function/ReplaceFunction.elm b/src/Install/Function/ReplaceFunction.elm index 3f46d5d..4d153cb 100644 --- a/src/Install/Function/ReplaceFunction.elm +++ b/src/Install/Function/ReplaceFunction.elm @@ -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. @@ -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