#what does this do b(1, 2)(a)?

1 messages · Page 1 of 1 (latest)

flat breach
#

In the pipeline section this syntax is mentioned as the fall back syntax, but there is no explanation as to what this syntax do, so what does this syntax do

restive moat
#

Imagine that b is a function that returns a function. So you could expand it to:

let func = b(1, 2)
func(a)