Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 AUTHORS.txt
Octocat-spinner-32 INSTALL.txt
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 README.txt
Octocat-spinner-32 _oasis
Octocat-spinner-32 _tags
Octocat-spinner-32 configure
Octocat-spinner-32 myocamlbuild.ml
Octocat-spinner-32 setup.ml
README.md

Ocaml-QuickCheck -- Translation of QuickCheck to OCaml

This is translation of QuickCheck from Haskell into Ocaml.

Forked from Alan Falloon's ocaml-quickcheck, but uses regular high-order-functions, and doesn't try to mimic haskell type-classes with OCamls modules. Maybe, it's not all that pretty, but it works! For some examples see tests/test.ml. More docs and examples coming soon.

If you are interested in original implementation you can go to Alan Falloon's blog to hear more about how he converted the code and the differences that were introduced.

Btw, with OCaml 3.12 you can somehow simplify original code with first-class modules. You can check branch "first-class-modules" in this repo to see some work in this field. However, HOFs still simplier than modules and functors.

Something went wrong with that request. Please try again.