Boost.勉強会4にて発表した内容です。http://atnd.org/events/11551Read less
Boost.勉強会4にて発表した内容です。http://atnd.org/events/11551Read less
Monads in C++ Posted by Bartosz Milewski under C++, Functional Programming, Haskell, Monads, Programming, Type System [32] Comments Follow @BartoszMilewski “You must be kidding!” would be the expected reaction to “Monads in C++.” Hence my surprise when I was invited to Boostcon 11 to give a three-hour presentation on said topic, a presentation which was met with totally unexpected level of interes
檜山先生のモナドの説明を純粋関数型言語C++で書いてみました。 #include "stdafx.h" template<int n> struct int_{static const int value=n;}; //例の最初に出てくる副作用ありバージョンはそもそも記述できないのでいきなり副作用なしバージョン。 template<typename T,typename C> struct Countup; template<typename T,int countup> struct Countup<T,int_<countup>> {}; template<typename x,typename y> struct sum_countup5_ex; template<int x,int xc,int y,int yc> struct sum_countup5_ex<Countup<in
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く