Module

Data.Euterpea.Music1

Package
purescript-school-of-music
Repository
newlandsvalley/purescript-school-of-music

#Note1 Source

data Note1

We have difficulty with polymorphism in Music here Euterpea uses a Tuple as the means of expressing polymorphic values with the second element indicating the polymorphic value However Purescript disallows type classes for Type Synonyms such as Tuples Instead we use a data definition for Note1 which is not extensible polymorphically

Constructors

Instances

#Music1 Source

#PV Source

data PV

Constructors

Instances

#pMap Source

pMap :: forall b a. (a -> b) -> Primitive a -> Primitive b

#mMap Source

mMap :: forall b a. (a -> b) -> Music a -> Music b