summaryrefslogtreecommitdiffstats
path: root/cpp/sca/kernel/monad.hpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Minor code cleanup, refactored list functions and cleaned up function names, ↵jsdelfino2009-10-181-6/+6
| | | | | | moved support for elements to a new header file. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826543 13f79535-47bb-0310-9956-ffa450edef68
* Some code cleanup, removed unused functions, changed == empty-list to isNil ↵jsdelfino2009-10-111-0/+386
to avoid unnecessary construction of empty lists, replaced some casts by generic declarations. Added simple maybe, failable and state monad classes to help return optional objects or failures and carry state around. Added utility functions to zip and unzip list. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@823981 13f79535-47bb-0310-9956-ffa450edef68