Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the highest order function used in practice?

For instance, mask in Haskell is of type (((forall a . IO a -> IO a) -> IO b) -> IO b). What is the purpose of such a function? Any language with a notion of a higher-order function is welcome.

For purposes of exactness, include only functions which are defined in public libraries or in use in live code.

like image 901
J. Abrahamson Avatar asked Jan 17 '14 05:01

J. Abrahamson


1 Answers

Okasaki exhibits a 6th order function: Even Higher-Order Functions for Parsing or Why Would Anyone Ever Want To Use a Sixth-Order Function?

like image 128
ja. Avatar answered Sep 17 '22 21:09

ja.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!