Skip to content

Commit

Permalink
make tactus a pattern. More to do!
Browse files Browse the repository at this point in the history
  • Loading branch information
yaxu committed Jan 16, 2025
1 parent bec7416 commit 8e78deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sound/Tidal/Pattern.hs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ data State = State {arc :: Arc,
}

-- | A datatype representing events taking place over time
data Pattern a = Pattern {query :: State -> [Event a], tactus :: Maybe Rational, pureValue :: Maybe a}
data Pattern a = Pattern {query :: State -> [Event a], tactus :: Pattern Rational, pureValue :: Maybe a}
deriving (Generic, Functor)

instance NFData a => NFData (Pattern a)
Expand Down

0 comments on commit 8e78deb

Please sign in to comment.