Skip to content

Commit

Permalink
support - for rests/gaps in mininotation
Browse files Browse the repository at this point in the history
  • Loading branch information
yaxu committed Jun 7, 2024
1 parent 7ba484b commit ab683f8
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 ab683f8

Please sign in to comment.