multilinear-io-0.2.3: Input/output capability for multilinear package.

Copyright(c) Artur M. Brodzki 2018
LicenseBSD3
Maintainerartur@brodzki.org
Stabilityexperimental
PortabilityWindows/POSIX
Safe HaskellNone
LanguageHaskell2010

Multilinear.Index.Infinite.Serialize

Contents

Description

Infinite-dimensional tensor index.

Synopsis

Documentation

data Index #

Index of infinite-dimensional tensor

Constructors

Covariant 

Fields

Contravariant 

Fields

Indifferent 

Fields

Instances
Eq Index 
Instance details

Defined in Multilinear.Index.Infinite

Methods

(==) :: Index -> Index -> Bool #

(/=) :: Index -> Index -> Bool #

Show Index

Show instance of Infinite index

Instance details

Defined in Multilinear.Index.Infinite

Methods

showsPrec :: Int -> Index -> ShowS #

show :: Index -> String #

showList :: [Index] -> ShowS #

Generic Index 
Instance details

Defined in Multilinear.Index.Infinite

Associated Types

type Rep Index :: Type -> Type #

Methods

from :: Index -> Rep Index x #

to :: Rep Index x -> Index #

NFData Index 
Instance details

Defined in Multilinear.Index.Infinite

Methods

rnf :: Index -> () #

ToJSON Index Source # 
Instance details

Defined in Multilinear.Index.Infinite.Serialize

FromJSON Index Source #

Serialization to and from JSON |

Instance details

Defined in Multilinear.Index.Infinite.Serialize

Serialize Index Source #

Binary serialization and deserialization |

Instance details

Defined in Multilinear.Index.Infinite.Serialize

Methods

put :: Putter Index #

get :: Get Index #

Index Index

Infinite index is a Multilinear.Index instance

Instance details

Defined in Multilinear.Index.Infinite

type Rep Index 
Instance details

Defined in Multilinear.Index.Infinite

type Rep Index = D1 (MetaData "Index" "Multilinear.Index.Infinite" "multilinear-0.2.3.0-Ch8VHFMK9Br6UxcDXSCu1N" False) (C1 (MetaCons "Covariant" PrefixI True) (S1 (MetaSel (Just "indexName'") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :+: (C1 (MetaCons "Contravariant" PrefixI True) (S1 (MetaSel (Just "indexName'") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :+: C1 (MetaCons "Indifferent" PrefixI True) (S1 (MetaSel (Just "indexName'") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))

Orphan instances

ToJSON Index Source # 
Instance details

FromJSON Index Source #

Serialization to and from JSON |

Instance details

Serialize Index Source #

Binary serialization and deserialization |

Instance details

Methods

put :: Putter Index #

get :: Get Index #