Get 20M+ Full-Text Papers For Less Than $1.50/day. Start a 14-Day Trial for You or Your Team.

Learn More →

Functional programming in C++ using the FC++ library

Functional programming in C++ using the FC++ library Functional prog i. Editor: Philip Wadler, Bell Laboratories, Lucent Technologies; wadler@research.bell-labs.com Functional Programming in C++ using the FC++ Library Brian McNamara and Yannis Smaragdakis College of Computing Georgia Institute of Technology http://www, cc.gatech, edu/~yannis/fc++/ "... the determined Real Programmer can write FORTRAN programs in any language." this approach in translating fur~ctionally-flavored constructs to Java code. Along th~e%ame lines, the C++ Standard Library contains some basic functionality for expressing and manipulating functions. C++ even allows classes representing functions to be used with the usual function call notation, by overloading the function application operator, operator (). Nevertheless, the C++ Standard Library stops short of providing a general framework for functional programming. Other libraries have attempted to fill the gap by supplying either syntax support (e.g., a "lambda" operator for anonymous functions) [3][8] or a framework for expressing higher-order function types [4]. FC++ is distinguished from all such libraries by its powerful type system. FC++ offers complete support for manipulating polymorphic functions--passing them as arguments to other functions and returning them as results. For instance, FC++ supports higher-order polymorphic operators like compose ( ) : a function that takes two (possibly polymorphic) functions as arguments and returns a (possibly polymorphic) result http://www.deepdyve.com/assets/images/DeepDyve-Logo-lg.png ACM SIGPLAN Notices Association for Computing Machinery

Functional programming in C++ using the FC++ library

ACM SIGPLAN Notices , Volume 36 (4) – Apr 1, 2001

Loading next page...
 
/lp/association-for-computing-machinery/functional-programming-in-c-using-the-fc-library-d6qKzUjQRR

References (8)

Publisher
Association for Computing Machinery
Copyright
Copyright © 2001 by ACM Inc.
ISSN
0362-1340
DOI
10.1145/375431.375417
Publisher site
See Article on Publisher Site

Abstract

Functional prog i. Editor: Philip Wadler, Bell Laboratories, Lucent Technologies; wadler@research.bell-labs.com Functional Programming in C++ using the FC++ Library Brian McNamara and Yannis Smaragdakis College of Computing Georgia Institute of Technology http://www, cc.gatech, edu/~yannis/fc++/ "... the determined Real Programmer can write FORTRAN programs in any language." this approach in translating fur~ctionally-flavored constructs to Java code. Along th~e%ame lines, the C++ Standard Library contains some basic functionality for expressing and manipulating functions. C++ even allows classes representing functions to be used with the usual function call notation, by overloading the function application operator, operator (). Nevertheless, the C++ Standard Library stops short of providing a general framework for functional programming. Other libraries have attempted to fill the gap by supplying either syntax support (e.g., a "lambda" operator for anonymous functions) [3][8] or a framework for expressing higher-order function types [4]. FC++ is distinguished from all such libraries by its powerful type system. FC++ offers complete support for manipulating polymorphic functions--passing them as arguments to other functions and returning them as results. For instance, FC++ supports higher-order polymorphic operators like compose ( ) : a function that takes two (possibly polymorphic) functions as arguments and returns a (possibly polymorphic) result

Journal

ACM SIGPLAN NoticesAssociation for Computing Machinery

Published: Apr 1, 2001

There are no references for this article.