Material for a workshop on monads with C++14
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
A workshop on monads with C++14.pdf
README.md
cont1.cpp
cont2.cpp
cont3++.cpp
cont3+.cpp
cont3.cpp
cont4.cpp
cont5.cpp
hlist.cpp
list1.cpp
list2.cpp
list3.cpp
list4.cpp
list5.cpp
list6.cpp
opt1.cpp
opt2.cpp
opt3.cpp
opt4.cpp
opt5.cpp

README.md

A workshop on monads with C++14

Meetup C/C++ de Madrid, January 15h 2015

During the workshop we will explore the basics of monadic theory in the context of C++14. Format is based on a bunch of 5-min exercises that the attendants are expected to complete along the way, with solutions provided and commented publicly.

Prerequisites

  • You are expected to be reasonably fluent with some post-2003 C++ stuff
    • auto
    • std::function, lambda functions, generic lambda functions
    • Function return type deduction, trailing return type declaration
    • Template template parameters (this is C++03, anyway)
    • decltype, std::declval
  • You are encouraged to pre-read about functional programming and monads
  • You are required to bring a computer with
  • Internet access (hopefully provided by host)
  • A C++14 compiler such as GCC 4.9 (-std=c++1y) with a recent Boost distro
  • Alternatively, you can use an online environment such as Coliru