{"action":"created","issue":{"url":"https://api.github.com/repos/alloy-lang/alloy/issues/334","labels_url":"https://api.github.com/repos/alloy-lang/alloy/issues/334/labels{/name}","comments_url":"https://api.github.com/repos/alloy-lang/alloy/issues/334/comments","events_url":"https://api.github.com/repos/alloy-lang/alloy/issues/334/events","html_url":"https://github.com/alloy-lang/alloy/issues/334","id":77313992,"number":334,"title":"Proposal: Fix arrays decaying","user":{"login":"felixangell","id":6254332,"avatar_url":"https://avatars.githubusercontent.com/u/6254332?v=3","gravatar_id":"","url":"https://api.github.com/users/felixangell","html_url":"https://github.com/felixangell","followers_url":"https://api.github.com/users/felixangell/followers","following_url":"https://api.github.com/users/felixangell/following{/other_user}","gists_url":"https://api.github.com/users/felixangell/gists{/gist_id}","starred_url":"https://api.github.com/users/felixangell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixangell/subscriptions","organizations_url":"https://api.github.com/users/felixangell/orgs","repos_url":"https://api.github.com/users/felixangell/repos","events_url":"https://api.github.com/users/felixangell/events{/privacy}","received_events_url":"https://api.github.com/users/felixangell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alloy-lang/alloy/labels/proposal","name":"proposal","color":"adbeef"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-17T13:46:27Z","updated_at":"2015-05-17T14:03:22Z","closed_at":null,"body":"Would be nice to have the length of an array passed with the array to a function, etc."},"comment":{"url":"https://api.github.com/repos/alloy-lang/alloy/issues/comments/102806466","html_url":"https://github.com/alloy-lang/alloy/issues/334#issuecomment-102806466","issue_url":"https://api.github.com/repos/alloy-lang/alloy/issues/334","id":102806466,"user":{"login":"SamTebbs33","id":1929466,"avatar_url":"https://avatars.githubusercontent.com/u/1929466?v=3","gravatar_id":"","url":"https://api.github.com/users/SamTebbs33","html_url":"https://github.com/SamTebbs33","followers_url":"https://api.github.com/users/SamTebbs33/followers","following_url":"https://api.github.com/users/SamTebbs33/following{/other_user}","gists_url":"https://api.github.com/users/SamTebbs33/gists{/gist_id}","starred_url":"https://api.github.com/users/SamTebbs33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamTebbs33/subscriptions","organizations_url":"https://api.github.com/users/SamTebbs33/orgs","repos_url":"https://api.github.com/users/SamTebbs33/repos","events_url":"https://api.github.com/users/SamTebbs33/events{/privacy}","received_events_url":"https://api.github.com/users/SamTebbs33/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T14:03:22Z","updated_at":"2015-05-17T14:03:22Z","body":"This may complicate operation with C where arrays are expected to be contiguous data storage with no metadata, perhaps.\r\n\r\nAn idea could be to have some kind of struct, like the following:\r\n\r\n<code>\r\nstruct Array{\r\n   array: []int;\r\n   length: int;\r\n}\r\n</code> "}}