{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/METADATA.jl/issues/2018","labels_url":"https://api.github.com/repos/JuliaLang/METADATA.jl/issues/2018/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/METADATA.jl/issues/2018/comments","events_url":"https://api.github.com/repos/JuliaLang/METADATA.jl/issues/2018/events","html_url":"https://github.com/JuliaLang/METADATA.jl/pull/2018","id":55155145,"number":2018,"title":"Pull request to add ShowSet module","user":{"login":"scheinerman","id":7482062,"avatar_url":"https://avatars.githubusercontent.com/u/7482062?v=3","gravatar_id":"","url":"https://api.github.com/users/scheinerman","html_url":"https://github.com/scheinerman","followers_url":"https://api.github.com/users/scheinerman/followers","following_url":"https://api.github.com/users/scheinerman/following{/other_user}","gists_url":"https://api.github.com/users/scheinerman/gists{/gist_id}","starred_url":"https://api.github.com/users/scheinerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheinerman/subscriptions","organizations_url":"https://api.github.com/users/scheinerman/orgs","repos_url":"https://api.github.com/users/scheinerman/repos","events_url":"https://api.github.com/users/scheinerman/events{/privacy}","received_events_url":"https://api.github.com/users/scheinerman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-22T13:51:48Z","updated_at":"2015-01-22T19:42:45Z","closed_at":"2015-01-22T15:18:18Z","pull_request":{"url":"https://api.github.com/repos/JuliaLang/METADATA.jl/pulls/2018","html_url":"https://github.com/JuliaLang/METADATA.jl/pull/2018","diff_url":"https://github.com/JuliaLang/METADATA.jl/pull/2018.diff","patch_url":"https://github.com/JuliaLang/METADATA.jl/pull/2018.patch"},"body":"This is a pull request to add my ShowSet module. The ShowSet module outputs Julia `Set` and `IntSet` objects as lists of their elements enclosed in curly braces. Here's a before-and-after example:\r\n```julia\r\njulia> A = Set([\"alpha\", \"beta\", \"gamma\", \"delta\"])\r\nSet{ASCIIString}({\"alpha\",\"gamma\",\"delta\",\"beta\"})\r\n\r\njulia> B = IntSet(5,2,6,11)\r\nIntSet([2, 5, 6, 11])\r\n\r\njulia> using ShowSet\r\nWarning: Method definition show(IO,Set{T}) in module Base at set.jl:10 overwritten in module ShowSet at /Users/ers/.julia/v0.3/ShowSet/src/ShowSet.jl:25.\r\nWarning: Method definition show(IO,IntSet) in module Base at intset.jl:176 overwritten in module ShowSet at /Users/ers/.julia/v0.3/ShowSet/src/ShowSet.jl:26.\r\n\r\njulia> A\r\n{alpha,beta,delta,gamma}\r\n\r\njulia> B\r\n{2,5,6,11}\r\n```"},"comment":{"url":"https://api.github.com/repos/JuliaLang/METADATA.jl/issues/comments/71084806","html_url":"https://github.com/JuliaLang/METADATA.jl/pull/2018#issuecomment-71084806","issue_url":"https://api.github.com/repos/JuliaLang/METADATA.jl/issues/2018","id":71084806,"user":{"login":"milktrader","id":324836,"avatar_url":"https://avatars.githubusercontent.com/u/324836?v=3","gravatar_id":"","url":"https://api.github.com/users/milktrader","html_url":"https://github.com/milktrader","followers_url":"https://api.github.com/users/milktrader/followers","following_url":"https://api.github.com/users/milktrader/following{/other_user}","gists_url":"https://api.github.com/users/milktrader/gists{/gist_id}","starred_url":"https://api.github.com/users/milktrader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milktrader/subscriptions","organizations_url":"https://api.github.com/users/milktrader/orgs","repos_url":"https://api.github.com/users/milktrader/repos","events_url":"https://api.github.com/users/milktrader/events{/privacy}","received_events_url":"https://api.github.com/users/milktrader/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T19:42:45Z","updated_at":"2015-01-22T19:42:45Z","body":"@kmsquire could you file an issue for creating such a macro? The more I think about this the more I'm __not__ in favor of such an idea. The reason being is that a warning is put in place to sound an alarm of abhorrent behavior. To remove it, one should either stop the code from doing what it's doing, or change the parameters of the warning. It's like putting a fire alarm in your house and removing the batteries.\r\n\r\nI do agree that warnings can get excessive and annoying, but maybe that's motivation for getting the code back in bounds on the playing field. "}}