{"action":"created","issue":{"url":"https://api.github.com/repos/tidalcycles/Tidal/issues/431","repository_url":"https://api.github.com/repos/tidalcycles/Tidal","labels_url":"https://api.github.com/repos/tidalcycles/Tidal/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/tidalcycles/Tidal/issues/431/comments","events_url":"https://api.github.com/repos/tidalcycles/Tidal/issues/431/events","html_url":"https://github.com/tidalcycles/Tidal/issues/431","id":391500359,"node_id":"MDU6SXNzdWUzOTE1MDAzNTk=","number":431,"title":"Pattern '..' notation kills Tidal process (1.0.0)","user":{"login":"echophon","id":5997208,"node_id":"MDQ6VXNlcjU5OTcyMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/5997208?v=4","gravatar_id":"","url":"https://api.github.com/users/echophon","html_url":"https://github.com/echophon","followers_url":"https://api.github.com/users/echophon/followers","following_url":"https://api.github.com/users/echophon/following{/other_user}","gists_url":"https://api.github.com/users/echophon/gists{/gist_id}","starred_url":"https://api.github.com/users/echophon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echophon/subscriptions","organizations_url":"https://api.github.com/users/echophon/orgs","repos_url":"https://api.github.com/users/echophon/repos","events_url":"https://api.github.com/users/echophon/events{/privacy}","received_events_url":"https://api.github.com/users/echophon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-16T20:08:40Z","updated_at":"2018-12-16T20:43:43Z","closed_at":null,"author_association":"NONE","body":"0.9.x branch had pattern shorthand for the run command so that:\r\n`d1 $ s \"drum*8\" # n \"0..8\"`  would be equivalent to  `d1 $ s \"drum*8\" # n (run 8)`\r\n\r\nThis was useful as you could pattern these list expansions in various ways, ie\r\n`d1 $ s \"drum*8\" # n \"<0 4>..<6 8 12>\"`\r\n\r\nAttempting this pattern notation in 1.0.0 kills the Tidal process and requires a restart"},"comment":{"url":"https://api.github.com/repos/tidalcycles/Tidal/issues/comments/447674263","html_url":"https://github.com/tidalcycles/Tidal/issues/431#issuecomment-447674263","issue_url":"https://api.github.com/repos/tidalcycles/Tidal/issues/431","id":447674263,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzY3NDI2Mw==","user":{"login":"yaxu","id":27940,"node_id":"MDQ6VXNlcjI3OTQw","avatar_url":"https://avatars0.githubusercontent.com/u/27940?v=4","gravatar_id":"","url":"https://api.github.com/users/yaxu","html_url":"https://github.com/yaxu","followers_url":"https://api.github.com/users/yaxu/followers","following_url":"https://api.github.com/users/yaxu/following{/other_user}","gists_url":"https://api.github.com/users/yaxu/gists{/gist_id}","starred_url":"https://api.github.com/users/yaxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaxu/subscriptions","organizations_url":"https://api.github.com/users/yaxu/orgs","repos_url":"https://api.github.com/users/yaxu/repos","events_url":"https://api.github.com/users/yaxu/events{/privacy}","received_events_url":"https://api.github.com/users/yaxu/received_events","type":"User","site_admin":false},"created_at":"2018-12-16T20:43:43Z","updated_at":"2018-12-16T20:43:43Z","author_association":"CONTRIBUTOR","body":"this works:\r\n```\r\nd1 $ s \"drum*8\" # n \"<0 4>..<6 8 12>\"\r\n```\r\nThis doesn't:\r\n```\r\nd1 $ s \"drum*8\" # n \"0..8\"\r\n```\r\nThis does:\r\n```\r\nd1 $ s \"drum*8\" # n \"0 .. 8\"\r\n```\r\nAs does this:\r\n```\r\nd1 $ s \"drum*8\" # n \"0.0..8.0\"\r\n```\r\nCan you verify it's the same for you, @echophon?\r\nI think it was the same way in 0.9.. It's because `n` now works with doubles, not integers, and so periods are ambiguous. The floating point parser could do some negative lookahead to make sure it's looking at a decimal point rather than the start of a range."}}
{"actor":{"display_login":"yaxu"}}