bcc32 / projecteuler-ocaml

My solutions to ProjectEuler problems in OCaml. Don't spoil yourself, please!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

projecteuler-ocaml

My solutions to ProjectEuler problems in OCaml. Don't spoil yourself, please!

How to run

dune build -p euler
dune exec -p euler -- euler PROBLEM_NUMBER [-time]

If passed the -time flag, the program will report the time taken to execute the solution code.

The EULER_DEBUG environment variable, when set to a non-empty string, will enable debug/progress printing in some solutions.

About

My solutions to ProjectEuler problems in OCaml. Don't spoil yourself, please!

License:MIT License


Languages

Language:OCaml 97.7%Language:Nix 0.9%Language:HTML 0.4%Language:Shell 0.4%Language:Standard ML 0.3%Language:Perl 0.1%Language:Makefile 0.1%Language:Emacs Lisp 0.0%