Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src
LICENSE.md
README.md
Shakefile.hs
memfib.cabal

README.md

ABOUT

Scientific experiment to evaluate how Haskell uses memoization to increase program efficiency.

Source

Example

$ shake install

$ time fib
832040
       12.11 real        1.92 user         0.21 sys
$ time fib2
832040
       2.56 real         1.94 user         0.06 sys

RUNTIME REQUIREMENTS

(None)

BUILDTIME REQUIREMENTS

Recommended

  • shake (e.g., cabal install shake)
  • hlint (e.g., cabal install happy; cabal install hlint)

BUILD

$ cabal install --only-dependencies --enable-documentation
$ cabal install --only-dependencies --enable-tests
$ shake

LINT

$ shake lint

TEST

$ shake test

PUBLISH

$ shake publish