music-score-1.9.0: Musical score and part representation.

Safe HaskellNone
LanguageHaskell2010

Data.List.Ordered

Synopsis

Documentation

type Positive = Natural Source

newtype Ordered a Source

Constructors

Ordered 

Fields

getOrdered :: Map a Positive
 

Instances

Ord a => Eq (Ordered a) 
Ord a => Ord (Ordered a) 

map :: (Ord a, Ord b) => (a -> b) -> Ordered a -> Ordered b Source

Alas, not a functor

toList :: Ordered a -> [a] Source

unsafeFromList :: Ord a => [a] -> Ordered a Source

fromList :: Ord a => [a] -> Maybe (Ordered a) Source

ordered :: Ord a => Prism' [a] (Ordered a) Source

unsafeOrdered :: Ord a => Iso' [a] (Ordered a) Source

elem :: Ord a => a -> Ordered a -> Bool Source

occs :: Ord a => a -> Ordered a -> Int Source