Skip to content

Commit

Permalink
Merge pull request tidalcycles#1087 from tidalcycles/minus-for-rest
Browse files Browse the repository at this point in the history
Support `-` for rests/gaps in mininotation
  • Loading branch information
yaxu authored Jun 7, 2024
2 parents 7ba484b ab683f8 commit 638e86a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sound/Tidal/ParseBP.hs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 223,7 @@ parseBP_E s = toE parsed
parseTPat :: Parseable a => String -> Either ParseError (TPat a)
parseTPat = runParser (pSequence f' Prelude.<* eof) (0 :: Int) ""
where f' = do tPatParser
<|> do symbol "~" <?> "rest"
<|> do oneOf "~-" <?> "rest"
return TPat_Silence

cP :: (Enumerable a, Parseable a) => String -> Pattern a
Expand Down

0 comments on commit 638e86a

Please sign in to comment.