Encode-1.3.4: Encoding character data

Portabilityportable
Stabilityprovisional
Maintainerotakar.smrz mff.cuni.cz

Encode.ExPlus

Contents

Description

Synopsis

Modules

Classes

class ExtEnv e whereSource

Methods

initEnv :: e iSource

Types

type Extend e s = StateT [e s] (Standard s)Source

Methods

Functions

returnIList :: [s] -> Extend e s [s]Source

returnEList :: [e s] -> Extend e s [e s]Source

resetEnv :: (a -> e s -> e s) -> a -> Extend e s (e s)Source

oneof :: (Ord s, Symbol m s) => [Map s a] -> m sSource

lower :: Ord s => [s] -> [s] -> Extend e s [s]Source

upper :: (OrdMap m, Ord s) => [s] -> [m s [c]] -> Extend e d ([c] -> [c])Source

upperWith :: (s -> m -> e d -> [[c]]) -> [s] -> m -> Extend e d ([c] -> [c])Source

oneof' :: (Ord [s], Symbol m [s], Eq s, Monad m) => s -> [Map [s] a] -> m [s]Source

Operators

(<|>) :: Extend e s a -> Extend e s a -> Extend e s aSource

Extensions

again :: Extend e s a -> Extend e s [a]Source

lookupList :: (OrdMap m, Ord s) => s -> [m s a] -> [a]Source