{"action":"created","issue":{"url":"https://api.github.com/repos/agda/agda-stdlib/issues/235","repository_url":"https://api.github.com/repos/agda/agda-stdlib","labels_url":"https://api.github.com/repos/agda/agda-stdlib/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/agda/agda-stdlib/issues/235/comments","events_url":"https://api.github.com/repos/agda/agda-stdlib/issues/235/events","html_url":"https://github.com/agda/agda-stdlib/issues/235","id":301749193,"node_id":"MDU6SXNzdWUzMDE3NDkxOTM=","number":235,"title":"Add list, vec, etc. \"literals\"","user":{"login":"gallais","id":1094905,"node_id":"MDQ6VXNlcjEwOTQ5MDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1094905?v=4","gravatar_id":"","url":"https://api.github.com/users/gallais","html_url":"https://github.com/gallais","followers_url":"https://api.github.com/users/gallais/followers","following_url":"https://api.github.com/users/gallais/following{/other_user}","gists_url":"https://api.github.com/users/gallais/gists{/gist_id}","starred_url":"https://api.github.com/users/gallais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gallais/subscriptions","organizations_url":"https://api.github.com/users/gallais/orgs","repos_url":"https://api.github.com/users/gallais/repos","events_url":"https://api.github.com/users/gallais/events{/privacy}","received_events_url":"https://api.github.com/users/gallais/received_events","type":"User","site_admin":false},"labels":[{"id":75500023,"node_id":"MDU6TGFiZWw3NTUwMDAyMw==","url":"https://api.github.com/repos/agda/agda-stdlib/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":75500025,"node_id":"MDU6TGFiZWw3NTUwMDAyNQ==","url":"https://api.github.com/repos/agda/agda-stdlib/labels/question","name":"question","color":"cc317c","default":true},{"id":765700916,"node_id":"MDU6TGFiZWw3NjU3MDA5MTY=","url":"https://api.github.com/repos/agda/agda-stdlib/labels/status:%20low-hanging-fruit","name":"status: low-hanging-fruit","color":"73dd9a","default":false}],"state":"open","locked":false,"assignee":{"login":"gallais","id":1094905,"node_id":"MDQ6VXNlcjEwOTQ5MDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1094905?v=4","gravatar_id":"","url":"https://api.github.com/users/gallais","html_url":"https://github.com/gallais","followers_url":"https://api.github.com/users/gallais/followers","following_url":"https://api.github.com/users/gallais/following{/other_user}","gists_url":"https://api.github.com/users/gallais/gists{/gist_id}","starred_url":"https://api.github.com/users/gallais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gallais/subscriptions","organizations_url":"https://api.github.com/users/gallais/orgs","repos_url":"https://api.github.com/users/gallais/repos","events_url":"https://api.github.com/users/gallais/events{/privacy}","received_events_url":"https://api.github.com/users/gallais/received_events","type":"User","site_admin":false},"assignees":[{"login":"gallais","id":1094905,"node_id":"MDQ6VXNlcjEwOTQ5MDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1094905?v=4","gravatar_id":"","url":"https://api.github.com/users/gallais","html_url":"https://github.com/gallais","followers_url":"https://api.github.com/users/gallais/followers","following_url":"https://api.github.com/users/gallais/following{/other_user}","gists_url":"https://api.github.com/users/gallais/gists{/gist_id}","starred_url":"https://api.github.com/users/gallais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gallais/subscriptions","organizations_url":"https://api.github.com/users/gallais/orgs","repos_url":"https://api.github.com/users/gallais/repos","events_url":"https://api.github.com/users/gallais/events{/privacy}","received_events_url":"https://api.github.com/users/gallais/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/agda/agda-stdlib/milestones/5","html_url":"https://github.com/agda/agda-stdlib/milestone/5","labels_url":"https://api.github.com/repos/agda/agda-stdlib/milestones/5/labels","id":3407969,"node_id":"MDk6TWlsZXN0b25lMzQwNzk2OQ==","number":5,"title":"0.17","description":"","creator":{"login":"gallais","id":1094905,"node_id":"MDQ6VXNlcjEwOTQ5MDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1094905?v=4","gravatar_id":"","url":"https://api.github.com/users/gallais","html_url":"https://github.com/gallais","followers_url":"https://api.github.com/users/gallais/followers","following_url":"https://api.github.com/users/gallais/following{/other_user}","gists_url":"https://api.github.com/users/gallais/gists{/gist_id}","starred_url":"https://api.github.com/users/gallais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gallais/subscriptions","organizations_url":"https://api.github.com/users/gallais/orgs","repos_url":"https://api.github.com/users/gallais/repos","events_url":"https://api.github.com/users/gallais/events{/privacy}","received_events_url":"https://api.github.com/users/gallais/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":20,"state":"open","created_at":"2018-06-07T13:53:09Z","updated_at":"2018-07-11T16:46:00Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2018-03-02T12:21:39Z","updated_at":"2018-07-11T22:03:15Z","closed_at":null,"author_association":"MEMBER","body":"(Once more following Phil's email to the mailing list): Add pattern synonyms for\r\nlist, vec, etc. \"literals\" (possibly hidden in a `Notation` module so that it's not\r\nimported by default).\r\n\r\nWe could retire `[_]` because it'd be subsumed by these combinators.\r\n\r\n```agda\r\nmodule poc.list-literals where\r\n\r\nopen import Agda.Builtin.List\r\n\r\nmodule _ {ℓ} {A : Set ℓ} where\r\n\r\n  infix 1 [_\r\n  infixr 2 _,_\r\n  infix 3 _]\r\n\r\n  -- [_ : List A → List A\r\n  pattern [_ xs = xs\r\n\r\n  -- _,_ : A → List A → List A\r\n  pattern _,_ a as = a ∷ as\r\n\r\n  --  _] : A → List A\r\n  pattern _] x = x ∷ []\r\n\r\n\r\nopen import Agda.Builtin.Nat\r\n\r\n_ : List Nat\r\n_ = [ 1 , 2 , 3 , 4 ]\r\n\r\nopen import Data.Maybe\r\n\r\nlast : List Nat → Maybe Nat\r\nlast ([ x ])  = just x\r\nlast (x ∷ xs) = last xs\r\nlast _ = nothing\r\n```"},"comment":{"url":"https://api.github.com/repos/agda/agda-stdlib/issues/comments/404325010","html_url":"https://github.com/agda/agda-stdlib/issues/235#issuecomment-404325010","issue_url":"https://api.github.com/repos/agda/agda-stdlib/issues/235","id":404325010,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDMyNTAxMA==","user":{"login":"JacquesCarette","id":1855141,"node_id":"MDQ6VXNlcjE4NTUxNDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1855141?v=4","gravatar_id":"","url":"https://api.github.com/users/JacquesCarette","html_url":"https://github.com/JacquesCarette","followers_url":"https://api.github.com/users/JacquesCarette/followers","following_url":"https://api.github.com/users/JacquesCarette/following{/other_user}","gists_url":"https://api.github.com/users/JacquesCarette/gists{/gist_id}","starred_url":"https://api.github.com/users/JacquesCarette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JacquesCarette/subscriptions","organizations_url":"https://api.github.com/users/JacquesCarette/orgs","repos_url":"https://api.github.com/users/JacquesCarette/repos","events_url":"https://api.github.com/users/JacquesCarette/events{/privacy}","received_events_url":"https://api.github.com/users/JacquesCarette/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T22:03:15Z","updated_at":"2018-07-11T22:03:15Z","author_association":"CONTRIBUTOR","body":"That quote does seem to imply the value of this will be rather limited.\r\n\r\nHeretical thought: a separator other than `,` ?"}}
{"actor":{"display_login":"JacquesCarette"}}