uniqueness-periods-vector-common-0.3.0.0: Generalization of the dobutokO-poetry-general package functionality

Copyright(c) OleksandrZhabenko 2020
LicenseMIT
StabilityExperimental
Safe HaskellNone
LanguageHaskell2010

Languages.UniquenessPeriods.Vector.Data

Description

Maintainer : olexandr543@yahoo.com

Is a generalization of the DobutokO.Poetry.Data module functionality from the dobutokO-poetry-general package.

Synopsis

Documentation

type UniquenessG1 a b = ([b], Vector b, [a]) Source #

data PreApp a Source #

The list in the PA variant represent the prepending [a] and the postpending one respectively. K constuctor actually means no prepending and postpending (usually of the text). Are used basically to control the behaviour of the functions.

Constructors

K 
PA [a] [a] 
Instances
Eq a => Eq (PreApp a) Source # 
Instance details

Defined in Languages.UniquenessPeriods.Vector.Data

Methods

(==) :: PreApp a -> PreApp a -> Bool #

(/=) :: PreApp a -> PreApp a -> Bool #

Eq a => UGG1 (PreApp a) a Source # 
Instance details

Defined in Languages.UniquenessPeriods.Vector.Data

Methods

get1m :: PreApp a -> [a] Source #

get2m :: PreApp a -> [a] Source #

getm :: Bool -> PreApp a -> [a] Source #

preapp :: PreApp a -> [[a]] -> [[a]] Source #

setm :: [a] -> [a] -> PreApp a Source #

class UGG1 a b where Source #

Minimal complete definition

get1m, get2m, preapp, setm

Methods

get1m :: a -> [b] Source #

get2m :: a -> [b] Source #

getm :: Bool -> a -> [b] Source #

preapp :: a -> [[b]] -> [[b]] Source #

setm :: [b] -> [b] -> a Source #

Instances
Eq a => UGG1 (PreApp a) a Source # 
Instance details

Defined in Languages.UniquenessPeriods.Vector.Data

Methods

get1m :: PreApp a -> [a] Source #

get2m :: PreApp a -> [a] Source #

getm :: Bool -> PreApp a -> [a] Source #

preapp :: PreApp a -> [[a]] -> [[a]] Source #

setm :: [a] -> [a] -> PreApp a Source #

type Preapp a = PreApp a Source #

data UniquenessG2 a b Source #

Constructors

UL2 ([a], b) 
Instances
(Eq a, Eq b) => Eq (UniquenessG2 a b) Source # 
Instance details

Defined in Languages.UniquenessPeriods.Vector.Data

Methods

(==) :: UniquenessG2 a b -> UniquenessG2 a b -> Bool #

(/=) :: UniquenessG2 a b -> UniquenessG2 a b -> Bool #

(Show a, Show b) => Show (UniquenessG2 (UniquenessG1 a b) (Vector (UniquenessG1 a b))) Source # 
Instance details

Defined in Languages.UniquenessPeriods.Vector.Data