Encode-1.3.8: Encoding character data

CopyrightPeter Ljunglof 2002
LicenseGPL
Maintainerotakar-smrz users.sf.net
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

PureFP.OrdSet

Description

Chapter 1 and Appendix A of /Pure Functional Parsing – an advanced tutorial/ by Peter Ljunglöf

http://www.ling.gu.se/~peb/pubs/p02-lic-thesis.pdf

Documentation

class OrdSet m where Source

Minimal complete definition

emptySet, unitSet, isEmpty, elemSet, elems, ordSet

Methods

emptySet :: Ord a => m a Source

unitSet :: Ord a => a -> m a Source

isEmpty :: Ord a => m a -> Bool Source

elemSet :: Ord a => a -> m a -> Bool Source

(<++>) :: Ord a => m a -> m a -> m a Source

(<\\>) :: Ord a => m a -> m a -> m a Source

plusMinus :: Ord a => m a -> m a -> (m a, m a) Source

union :: Ord a => [m a] -> m a Source

makeSet :: Ord a => [a] -> m a Source

elems :: Ord a => m a -> [a] Source

ordSet :: Ord a => [a] -> m a Source

limit :: Ord a => (a -> m a) -> m a -> m a Source

Instances

data Set a Source

Instances

OrdSet Set Source 
Eq a => Eq (Set a) Source 
Ord a => Ord (Set a) Source 
Show a => Show (Set a) Source