Kyle Shevlin 4/29/2019

Just Enough FP: Argument Order

Read Original

This technical article discusses the importance of argument order in curried functions, specifically why the data (e.g., an array) should be the final argument. It contrasts a 'bad' filter function with the correct order, explaining how the correct order enables effective partial application and function composition, which are key concepts in functional programming.

Just Enough FP: Argument Order

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes