{"action":"created","issue":{"url":"https://api.github.com/repos/uqbar-project/wollok/issues/291","labels_url":"https://api.github.com/repos/uqbar-project/wollok/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/uqbar-project/wollok/issues/291/comments","events_url":"https://api.github.com/repos/uqbar-project/wollok/issues/291/events","html_url":"https://github.com/uqbar-project/wollok/issues/291","id":110724435,"number":291,"title":"Improve collections toString","user":{"login":"npasserini","id":4633913,"avatar_url":"https://avatars.githubusercontent.com/u/4633913?v=3","gravatar_id":"","url":"https://api.github.com/users/npasserini","html_url":"https://github.com/npasserini","followers_url":"https://api.github.com/users/npasserini/followers","following_url":"https://api.github.com/users/npasserini/following{/other_user}","gists_url":"https://api.github.com/users/npasserini/gists{/gist_id}","starred_url":"https://api.github.com/users/npasserini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npasserini/subscriptions","organizations_url":"https://api.github.com/users/npasserini/orgs","repos_url":"https://api.github.com/users/npasserini/repos","events_url":"https://api.github.com/users/npasserini/events{/privacy}","received_events_url":"https://api.github.com/users/npasserini/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/uqbar-project/wollok/labels/usability","name":"usability","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"javierfernandes","id":4428120,"avatar_url":"https://avatars.githubusercontent.com/u/4428120?v=3","gravatar_id":"","url":"https://api.github.com/users/javierfernandes","html_url":"https://github.com/javierfernandes","followers_url":"https://api.github.com/users/javierfernandes/followers","following_url":"https://api.github.com/users/javierfernandes/following{/other_user}","gists_url":"https://api.github.com/users/javierfernandes/gists{/gist_id}","starred_url":"https://api.github.com/users/javierfernandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierfernandes/subscriptions","organizations_url":"https://api.github.com/users/javierfernandes/orgs","repos_url":"https://api.github.com/users/javierfernandes/repos","events_url":"https://api.github.com/users/javierfernandes/events{/privacy}","received_events_url":"https://api.github.com/users/javierfernandes/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/uqbar-project/wollok/milestones/2","html_url":"https://github.com/uqbar-project/wollok/milestones/Wollok%20v1.2%20Buddha","labels_url":"https://api.github.com/repos/uqbar-project/wollok/milestones/2/labels","id":1214232,"number":2,"title":"Wollok v1.2 Buddha","description":"Wollok Tests UI. Objects extending classes. First refactor. Improvements to diagrams. New checks and quickfixes.\r\n\r\n","creator":{"login":"npasserini","id":4633913,"avatar_url":"https://avatars.githubusercontent.com/u/4633913?v=3","gravatar_id":"","url":"https://api.github.com/users/npasserini","html_url":"https://github.com/npasserini","followers_url":"https://api.github.com/users/npasserini/followers","following_url":"https://api.github.com/users/npasserini/following{/other_user}","gists_url":"https://api.github.com/users/npasserini/gists{/gist_id}","starred_url":"https://api.github.com/users/npasserini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npasserini/subscriptions","organizations_url":"https://api.github.com/users/npasserini/orgs","repos_url":"https://api.github.com/users/npasserini/repos","events_url":"https://api.github.com/users/npasserini/events{/privacy}","received_events_url":"https://api.github.com/users/npasserini/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":47,"state":"open","created_at":"2015-07-18T17:29:35Z","updated_at":"2015-10-09T20:27:24Z","due_on":"2015-10-12T03:00:00Z","closed_at":null},"comments":1,"created_at":"2015-10-09T19:43:29Z","updated_at":"2015-10-09T20:27:24Z","closed_at":"2015-10-09T20:27:24Z","body":"Both sets & lists should have a better toString\r\n\r\nCurrently it shows the underlying Java class, which is not useful.\r\nIt should show the contents of the collection, probably the same result as doing col.join(\",\").\r\nOr even better add enclose that in \"[]\" or \"{}\" depending on the type of collection."},"comment":{"url":"https://api.github.com/repos/uqbar-project/wollok/issues/comments/146978747","html_url":"https://github.com/uqbar-project/wollok/issues/291#issuecomment-146978747","issue_url":"https://api.github.com/repos/uqbar-project/wollok/issues/291","id":146978747,"user":{"login":"javierfernandes","id":4428120,"avatar_url":"https://avatars.githubusercontent.com/u/4428120?v=3","gravatar_id":"","url":"https://api.github.com/users/javierfernandes","html_url":"https://github.com/javierfernandes","followers_url":"https://api.github.com/users/javierfernandes/followers","following_url":"https://api.github.com/users/javierfernandes/following{/other_user}","gists_url":"https://api.github.com/users/javierfernandes/gists{/gist_id}","starred_url":"https://api.github.com/users/javierfernandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierfernandes/subscriptions","organizations_url":"https://api.github.com/users/javierfernandes/orgs","repos_url":"https://api.github.com/users/javierfernandes/repos","events_url":"https://api.github.com/users/javierfernandes/events{/privacy}","received_events_url":"https://api.github.com/users/javierfernandes/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T20:27:23Z","updated_at":"2015-10-09T20:27:23Z","body":"Done !\r\n\r\n```\r\nval a = #{23, 2, 2}\r\nassert.equals(\"#{2, 23}\", a.toString())\r\n```\r\n\r\nand it actually sends the wollok message \"toString\" to each element\r\n\r\n```\r\nobject myObject {\r\n\t\t\tmethod toString() = \"My Object\"\r\n\t\t}\r\n\t\tprogram p {\r\n\t\t\tval a = #[23, 2, 1, myObject]\r\n\t\t\tassert.equals(\"#[23, 2, 1, My Object]\", a.toString())\r\n\t\t}\r\n```"}}