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.

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
Category Control
Home page
Bug tracker
Source repo head: git clone
Uploaded by clinton at Wed Jan 17 16:49:58 UTC 2018
Distributions NixOS:
Downloads 89 total (17 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-01-17 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees