Difference between revisions of "Functional C++"
 (Created page with "  {| class="wikitable" !colspan="2" style="text-align: center; background-color:#cccccc;"|Function Equivalence |- |style="text-align: center; background-color:#e8e8e8;"|'''Has...")  | 
				|||
| Line 8: | Line 8: | ||
|-  | |-  | ||
|map  | |map  | ||
| − | |  | + | |for_each  | 
|-  | |-  | ||
|foldl  | |foldl  | ||
| − | |  | + | |accumulate  | 
| + | |-  | ||
| + | |filter  | ||
| + | |copy_if  | ||
|-  | |-  | ||
|replicate  | |replicate  | ||
| − | |  | + | |fill_n  | 
|}  | |}  | ||
Revision as of 09:13, 11 December 2014
| Function Equivalence | |
|---|---|
| Haskell | C++ | 
| map | for_each | 
| foldl | accumulate | 
| filter | copy_if | 
| replicate | fill_n |