Copyright | Justin Ethier |
---|---|
License | MIT (see LICENSE in the distribution) |
Maintainer | github.com/justinethier |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module wraps System.CPUTime so that it can be used directly by Scheme code.
More importantly, it serves as an example of how to wrap existing Haskell code so that it can be loaded and called by husk.
See 'examplesffiffi-cputime.scm' in the husk source tree for an example of how to call into this module from Scheme code.
Synopsis
- get :: [LispVal] -> IOThrowsError LispVal
- precision :: [LispVal] -> IOThrowsError LispVal