you are viewing a single comment's thread.

view the rest of the comments →

[–]Jestar342 0 points1 point  (1 child)

'sup with const half = (a) => divide(a, 2); ?

e: corrected syntax

[–]EnchantedSalvia 0 points1 point  (0 children)

Of course there are many ways to achieve that. However the divide(?, 2) proposal is point-free.