linear-1.20.5: Linear Algebra

Copyright(C) 2013-2015 Edward Kmett and Anthony Cowley
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe
LanguageHaskell98

Linear.Binary

Description

Serialization of statically-sized types with the Data.Binary library.

Synopsis

Documentation

putLinear :: (Binary a, Foldable t) => t a -> Put Source #

Serialize a linear type.

getLinear :: (Binary a, Applicative t, Traversable t) => Get (t a) Source #

Deserialize a linear type.