Skip to main content
added 133 characters in body
Source Link
ovs
  • 61.2k
  • 3
  • 49
  • 164

Coconut, 11 bytes

Takes input as ö(g)(f, [a, b]).

g->g<*..map

Try it online!Try it online!

<*.. is the multi-arg backward function composition, which makes this function equivalent to

g->*args->g(*map(*args))

Coconut, 11 bytes

Takes input as ö(g)(f, [a, b]).

g->g<*..map

Try it online!

Coconut, 11 bytes

Takes input as (g)(f, [a, b]).

g->g<*..map

Try it online!

<*.. is the multi-arg backward function composition, which makes this function equivalent to

g->*args->g(*map(*args))
Source Link
ovs
  • 61.2k
  • 3
  • 49
  • 164

Coconut, 11 bytes

Takes input as ö(g)(f, [a, b]).

g->g<*..map

Try it online!