static-closure: Serialisable static pointers to functions

[ bsd3, control, library ] [ Propose Tags ]

A more generalised and expanded version of the ideas found in distributed-closure in the following ways:-

  1. This library allows for the core serialisable type to any type, although we currently only implement "Binary".

  2. 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:-

  1. Writing some test cases to make sure this actually works.

  2. Integrating with freelude, the restricted "pure" function is perfect to define in "freelude".

  3. Writing some more Template Haskell functions to allow easy integration with user defined types.

  4. Linking this up with acid-state in a somewhat sensible way.

Downloads

Maintainer's Corner

Package maintainers

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 742 total (7 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]