tidal-1.8.0: Pattern language for improvised music
Safe HaskellNone
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
Eq ID Source # 
Instance details

Defined in Sound.Tidal.ID

Methods

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

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

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 #

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 #

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 #

IsString ID Source # 
Instance details

Defined in Sound.Tidal.ID

Methods

fromString :: String -> ID #