quadratic-irrational-0.0.1: An implementation of quadratic irrationals

Copyright© 2014 Johan Kiviniemi
LicenseMIT
MaintainerJohan Kiviniemi <devel@johan.kiviniemi.name>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Numeric.QuadraticIrrational.CyclicList

Description

 

Documentation

data CycList a Source

Constructors

NonCyc [a]

A non-cyclic list.

Cyc [a] a [a]

A non-cyclic list followed by the head of a cyclic list followed by the tail of the cyclic list.

Instances

Functor CycList 
Foldable CycList 
Eq a => Eq (CycList a) 
Ord a => Ord (CycList a) 
Read a => Read (CycList a) 
Show a => Show (CycList a)