algebraic-graphs-io-0.5.0.1: I/O utilities and datasets for algebraic-graphs
Copyright(c) Marco Zocca 2022
Maintainerocramz
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

Algebra.Graph.IO.Serialise

Description

Orphan instances for compatibility between 'algebraic-graphs' and serialise.

Import only if you know what you're doing.

Orphan instances

Serialise a => Serialise (Graph a) Source # 
Instance details

(Serialise e, Serialise a) => Serialise (Graph e a) Source # 
Instance details

Methods

encode :: Graph e a -> Encoding #

decode :: Decoder s (Graph e a) #

encodeList :: [Graph e a] -> Encoding #

decodeList :: Decoder s [Graph e a] #