Skip to main content
Module

x/ramda/mod.ts>o

:ram: Practical functional Javascript
Latest
variable o
import { o } from "https://deno.land/x/ramda@v0.27.2/mod.ts";

o is a curried composition function that returns a unary function. Like compose, o performs right-to-left function composition. Unlike compose, the rightmost function passed to o will be invoked with only one argument. Also, unlike compose, o is limited to accepting only 2 unary functions. The name o was chosen because of its similarity to the mathematical composition operator ∘.