blob: 64cfb45f329c49fd4d0c91622181b3cb7f10c372 [file] [log] [blame] [edit]
import { curry } from './curry.js'
function replaceFn(
pattern, replacer, str
){
return str.replace(pattern, replacer)
}
export const replace = curry(replaceFn)