tidal-1.9.2: Pattern language for improvised music
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.Tidal.ID

Synopsis

Documentation

newtype ID Source #

Wrapper for literals that can be coerced to a string and used as an identifier. | Similar to Show typeclass, but constrained to strings and integers and designed | so that similar cases (such as 1 and "1") convert to the same value.

Constructors

ID 

Fields

Instances

Instances details
IsString ID Source # 
Instance details

Defined in Sound.Tidal.ID

Methods

fromString :: String -> ID #

Num ID Source # 
Instance details

Defined in Sound.Tidal.ID

Methods

(+) :: ID -> ID -> ID #

(-) :: ID -> ID -> ID #

(*) :: ID -> ID -> ID #

negate :: ID -> ID #

abs :: ID -> ID #

signum :: ID -> ID #

fromInteger :: Integer -> ID #

Read ID Source # 
Instance details

Defined in Sound.Tidal.ID

Show ID Source # 
Instance details

Defined in Sound.Tidal.ID

Methods

showsPrec :: Int -> ID -> ShowS #

show :: ID -> String #

showList :: [ID] -> ShowS #

Eq ID Source # 
Instance details

Defined in Sound.Tidal.ID

Methods

(==) :: ID -> ID -> Bool #

(/=) :: ID -> ID -> Bool #

Ord ID Source # 
Instance details

Defined in Sound.Tidal.ID

Methods

compare :: ID -> ID -> Ordering #

(<) :: ID -> ID -> Bool #

(<=) :: ID -> ID -> Bool #

(>) :: ID -> ID -> Bool #

(>=) :: ID -> ID -> Bool #

max :: ID -> ID -> ID #

min :: ID -> ID -> ID #