linear-1.16.2: Linear Algebra

Copyright(C) 2013-2014 Edward Kmett and Anthony Cowley
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe-Inferred
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.