{"action":"closed","issue":{"url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/1226","labels_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/1226/labels{/name}","comments_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/1226/comments","events_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/1226/events","html_url":"https://github.com/idris-lang/Idris-dev/issues/1226","id":33437229,"number":1226,"title":"[,] syntax on Vects can take forever to typecheck unless `with` is used.","user":{"login":"LeifW","id":28711,"avatar_url":"https://avatars.githubusercontent.com/u/28711?v=3","gravatar_id":"","url":"https://api.github.com/users/LeifW","html_url":"https://github.com/LeifW","followers_url":"https://api.github.com/users/LeifW/followers","following_url":"https://api.github.com/users/LeifW/following{/other_user}","gists_url":"https://api.github.com/users/LeifW/gists{/gist_id}","starred_url":"https://api.github.com/users/LeifW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeifW/subscriptions","organizations_url":"https://api.github.com/users/LeifW/orgs","repos_url":"https://api.github.com/users/LeifW/repos","events_url":"https://api.github.com/users/LeifW/events{/privacy}","received_events_url":"https://api.github.com/users/LeifW/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-05-13T20:47:05Z","updated_at":"2015-10-19T11:03:15Z","closed_at":"2015-10-19T11:03:15Z","body":"```haskell\r\nmodule Foo\r\n\r\nimport Data.HVect\r\n\r\na : HVect [String,\r\n       Integer,\r\n       (Type, Type),\r\n       Type,\r\n       (Type -> Type),\r\n       (Type -> Type -> Type),\r\n       (Nat -> Type -> Type)]\r\na = [\"yes\", 5, ('What, 'Now), String, Maybe, Either, Vect]\r\n```\r\n\r\na : was filled in by proof search of a metavar.  With it was just a metavar:\r\n```\r\ntime idris --check Foo.idr\r\nidris --check Foo.idr  0.56s user 0.04s system 98% cpu 0.601 tota\r\n```\r\nwith type sig filled in:\r\n```\r\nidris --check Foo.idr  139.89s user 19.06s system 99% cpu 2:39.26 total\r\n```\r\n\r\nFunnily enough, if the metavar is filled in by having a \"wha = proof search\" line in file, the time returns to half a second."}}