change syntax to be OCaml 3.11 compatible
Merge pull request #31 from mkonecny/master

Use OCaml 3.11 compatible syntax