2000
DOI: 10.1145/357766.351251
|View full text |Cite
|
Sign up to set email alerts
|

Functional programming in C++

Abstract: This paper describes FC++: a rich library supporting functional programming in C++. Prior approaches to encoding higher order functions in C++ have suffered with respect to polymorphic functions from either lack of expressiveness or high complexity. In contrast, FC++ offers full and concise support for higher-order polymorphic functions through a novel use of C++ type inference.Another new element in FC++ is that it implements a subtype polymorphism policy for functions, in addition to the more common parametr… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
5
0

Year Published

2003
2003
2019
2019

Publication Types

Select...
5
1
1

Relationship

0
7

Authors

Journals

citations
Cited by 8 publications
(5 citation statements)
references
References 4 publications
0
5
0
Order By: Relevance
“…Further work might consider implementing additional persistent data structures, such as red-black trees or heaps. Because persistent versions of these are often O(log n) amortized insertion and removal, it may be beneficial to implement them via Rcpp and functional approaches for C++ (McNamara and Smaragdakis, 2000;Eddelbuettel and François, 2011;Eddelbuettel, 2013).…”
Section: Discussionmentioning
confidence: 99%
“…Further work might consider implementing additional persistent data structures, such as red-black trees or heaps. Because persistent versions of these are often O(log n) amortized insertion and removal, it may be beneficial to implement them via Rcpp and functional approaches for C++ (McNamara and Smaragdakis, 2000;Eddelbuettel and François, 2011;Eddelbuettel, 2013).…”
Section: Discussionmentioning
confidence: 99%
“…Second, it is possible to use ADTs and pattern matching in a standard language, usually C + +. For example McNamara and Smaragdakis 16 focus on the polymorphic typing issues and Läufer 17 focuses on the higher order issues. The Boost libraries for C + + 18 have also been used to build a library for ADTs.…”
Section: Related Workmentioning
confidence: 99%
“…To achieve this in a way that is convenient for the programmer to use is possible, but not simple. Of several attempts at this I have selected the FC++ library by McNamara and Smaragdakis [14]. I will briefly describe the features of this library which make it particularly appropriate for implementing exact real arithmetic.…”
Section: The C++ Implementationmentioning
confidence: 99%