Haskell implementation for "smallpt" (small path tracing). The code is written for read clarity, so it is a little longer than the original C version.
$ cabal install --only-dependencies
$ cabal configure
$ cabal build
$ cabal run [width] [height] [samples]
(800 x 600, 512 samples per pixel, computation took 8200 secs with 1.8 GHz CPU)
MIT License 2015 (c) tatsy, Tatsuya Yatagawa