Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Functional programming in Python and C++ [closed]

Is there any good book for functional programming in Python or C++ ? I need to master functional programming in those languages.

like image 293
Jelena Avatar asked Nov 24 '10 14:11

Jelena


1 Answers

By functional programming, I assume you mean referential transparency (basically, no global state or side-effects), plus things like functions as first-class objects, polymorphic types, partial function application etc.

There is no book that I know of that covers functional programming in C++. You could program without global state and side-effects in C++, and you can pass functions as arguments using function-typed pointers, but you couldn't get partial function application, nor anonymous lambda expressions.

like image 69
Simon Courtenage Avatar answered Sep 28 '22 03:09

Simon Courtenage