static-closure: Serialisable static pointers to functions
A more generalised and expanded version of the ideas found in distributed-closure in the following ways:-
This library allows for the core serialisable type to any type, although we currently only implement "Binary".
Template Haskell is used to implement dictionary instances for all instances of "Binary" in all packages shipped with GHC with the assistance of ghc-instances.
This library is very much a work in progress. It is largely untested except to check it compiles. Future tasks to do include:-
Writing some test cases to make sure this actually works.
Integrating with freelude, the restricted "pure" function is perfect to define in "freelude".
Writing some more Template Haskell functions to allow easy integration with user defined types.
Linking this up with acid-state in a somewhat sensible way.
Modules
[Index]
Downloads
- static-closure-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.0 |
---|---|
Dependencies | base (>=4.7 && <5), binary, bytestring, constraints, containers, ghc-instances, template-haskell [details] |
License | BSD-3-Clause |
Copyright | Copyright: (c) 2018 Clinton Mead |
Author | Clinton Mead |
Maintainer | clintonmead@gmail.com |
Category | Control |
Home page | https://github.com/clintonmead/static-closure#readme |
Bug tracker | https://github.com/clintonmead/static-closure/issues |
Source repo | head: git clone https://github.com/clintonmead/static-closure |
Uploaded | by clinton at 2018-01-17T16:49:58Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 767 total (5 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2018-01-17 [all 1 reports] |