Skip to content

sebastian-philipp/qt-continuation-monad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haskell continuation monad in C++

A basic but working implementation of the continuation monad in C++. Can be used by Qt to mitigate the callback hell

Featuring:

  • A Monad implementation for boost::optional, Continuation and some Qt data types.
  • Some basic monadic fuctions, like sequence, mapM and liftM.
  • callCC and tryCont for some basic exception handling (asynchonous exceptions!).
  • A small integraion to wrap Qt signals into a continuation.
  • Some examples.

Source

Wikibooks: Continuation passing style

Supported Platforms

VS2012 GCC 4.7 clang 3.4

See also

About

A basic but working implementation of the continuation monad in C++. Can be used by Qt to mitigate the callback hell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published