Open
Description
Right now the signature of replace on regex is:
foreign import replace :: Regex -> String -> String -> String
and I argue it should be
foreign import replace :: Regex -> Replacement -> String -> String
Of course this would be breaking so potentially there should be an alternative under a different name and the old one could be made deprecated.
What do you think?
Metadata
Metadata
Assignees
Labels
No labels