/bindynamic

Haskell library: A variation of Data.Dynamic.Dynamic with a Binary instance

Primary LanguageHaskellGNU General Public License v3.0GPL-3.0

bindynamic

Build Status Hackage

A variation of Data.Dynamic.Dynamic with a Binary instance.

This Dynamic is instance Binary by encapsulating only values of types that are Binary. It is a bit more efficient than something similar to (ByteString, TypeRep) as it avoids unnecessary encode/decoding round-trips.

The interface is the same as that of the original Dynamic; dynApp/dynApply do not work with this type.