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.
|Dependencies||base (>=4.7 && <5), binary, bytestring, constraints, containers, ghc-instances, template-haskell [details]|
|Copyright||Copyright: (c) 2018 Clinton Mead|
|Source repo||head: git clone https://github.com/clintonmead/static-closure|
|Uploaded||by clinton at Wed Jan 17 16:49:58 UTC 2018|
|Downloads||89 total (17 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|Status||Docs available [build log]
Last success reported on 2018-01-17 [all 1 reports]
Hackage Matrix CI
For package maintainers and hackage trustees