Copyright | Justin Ethier |
---|---|
License | MIT (see LICENSE in the distribution) |
Maintainer | github.com/justinethier |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Language.Scheme.Plugins.CPUTime
Description
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 'examples/ffi/ffi-cputime.scm' in the husk source tree for an example of how to call into this module from Scheme code.
- get :: [LispVal] -> IOThrowsError LispVal
- precision :: [LispVal] -> IOThrowsError LispVal