Skip to main content
Module

x/rambda/source/set.js

Faster and smaller alternative to Ramda
Latest
File
import {always} from './always.js'import {curry} from './curry.js'import {over} from './over.js'
function setFn(lens, replacer, x) { return over(lens, always(replacer), x)}
export const set = curry(setFn)