HLearn-algebra-1.1.0.0: Algebraic foundation for homomorphic learning

Safe HaskellNone

HLearn.Algebra.Structures.Triangles

Description

Provides a generic interface to structures that offer both a left and right cons. It's based on the Data.Sequence interface.

Synopsis

Documentation

class Triangle f a whereSource

Methods for left and right cons on a data type

Methods

(<|) :: a -> f -> fSource

(|>) :: f -> a -> fSource

Instances

Triangle [a] a 
Triangle (Seq a) a