tidal-1.7.10: 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 Source #

Num ID Source # 
Instance details

Defined in Sound.Tidal.ID

Methods

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

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

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

negate :: ID -> ID Source #

abs :: ID -> ID Source #

signum :: ID -> ID Source #

fromInteger :: Integer -> ID Source #

Read ID Source # 
Instance details

Defined in Sound.Tidal.ID

Show ID Source # 
Instance details

Defined in Sound.Tidal.ID

Eq ID Source # 
Instance details

Defined in Sound.Tidal.ID

Methods

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

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

Ord ID Source # 
Instance details

Defined in Sound.Tidal.ID

Methods

compare :: ID -> ID -> Ordering Source #

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

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

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

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

max :: ID -> ID -> ID Source #

min :: ID -> ID -> ID Source #