hsc3-0.15.1: Haskell SuperCollider

Safe HaskellSafe-Inferred
LanguageHaskell98

Sound.SC3.UGen.Identifier

Description

Typeclass and functions to manage UGen identifiers.

Synopsis

Documentation

class Hashable a => ID a where Source

Typeclass to constrain UGen identifiers.

Minimal complete definition

Nothing

Methods

resolveID :: a -> Int Source

Instances

joinID :: (ID a, ID b) => a -> b -> Int Source

Hash IDs p and q and sum to form an Int.

'a' `joinID` (1::Int) == 1627429042