elm-community / string-extra

String helper functions for Elm.

Home Page:http://package.elm-lang.org/packages/elm-community/string-extra/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove replace

psyCodelist opened this issue · comments

Hi, thanks for the amazing package!

Core String has the same function:
replace : String -> String -> String -> String

which make the replace function redundant and creates compiler error:

This usage of `String.replace` is ambiguous.
It could refer to a variable from either of these imports:
     import String
     import String.Extra as String