- 更新日
2014/03/14
- 書いた人
- 発表場所
- 資料のライセンス
- 発表場所
- 資料のライセンス
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace FsCheck.Ext | |
module Test = | |
open System | |
open FsCheck | |
open FsCheck.Arb | |
type JapaneseChar = char | |
type MyGenerators = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type _1<'F, 'A> = interface end | |
type Bind<'F, 'R> = | |
abstract member Apply: _1<'F, 'B> * ('B -> 'R) -> 'R | |
type Monad<'F> = | |
abstract member Return : 'T -> _1<'F, 'T> | |
abstract member Bind: _1<'F, 'A> * ('A -> _1<'F, 'B>) -> _1<'F, 'B> | |
type Free<'F, 'A> = |
この資料は 第9回 Functional忍者 の資料だったものの残滓です。
- 限定継続については触れません。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <sstream> | |
#include <vector> | |
#include <iterator> | |
#include <random> | |
#include <boost/assign/list_of.hpp> | |
#include <boost/range/algorithm/copy.hpp> | |
#include <boost/range/adaptor/indexed.hpp> | |
#include <boost/range/adaptor/transformed.hpp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type NonEmptyList<'T> = 'T * 'T list | |
type FlowControl = Break | Continue | |
type Case<'T> = | |
| Unit | |
| Value of 'T | |
type TestResult<'T> = | |
| Success of 'T |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open System.Reflection | |
type Line1 = Line1 | |
type Line2 = Line2 | |
type Line3 = Line3 | |
type Line4 = Line4 | |
type Line5 = Line5 | |
type Line6 = Line6 | |
type Line7 = Line7 | |
type Line8 = Line8 |
この記事は [http://connpass.com/event/9758/:title] の初日の記事です。
12月になってしまいましたね、進捗どうですか?私は駄目です。
タイトルは"コンピュテーション式の Tips"となっていますが、中身は Basis.Core や <a href"https://github.com/persimmon-projects/Persimmon>"Persimmon 内で使われているコンピュテーション式の実装方法を勝手に紹介するというだけです。
この記事は 2014/12/01 JST 現在書きかけです。 よって、後々更新したときのために gist で diff を残しておきます。
OlderNewer