{"action":"created","issue":{"url":"https://api.github.com/repos/mauro3/Parameters.jl/issues/2","labels_url":"https://api.github.com/repos/mauro3/Parameters.jl/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mauro3/Parameters.jl/issues/2/comments","events_url":"https://api.github.com/repos/mauro3/Parameters.jl/issues/2/events","html_url":"https://github.com/mauro3/Parameters.jl/pull/2","id":107556909,"number":2,"title":"add pretty printing of parameter types","user":{"login":"KristofferC","id":1282691,"avatar_url":"https://avatars.githubusercontent.com/u/1282691?v=3","gravatar_id":"","url":"https://api.github.com/users/KristofferC","html_url":"https://github.com/KristofferC","followers_url":"https://api.github.com/users/KristofferC/followers","following_url":"https://api.github.com/users/KristofferC/following{/other_user}","gists_url":"https://api.github.com/users/KristofferC/gists{/gist_id}","starred_url":"https://api.github.com/users/KristofferC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KristofferC/subscriptions","organizations_url":"https://api.github.com/users/KristofferC/orgs","repos_url":"https://api.github.com/users/KristofferC/repos","events_url":"https://api.github.com/users/KristofferC/events{/privacy}","received_events_url":"https://api.github.com/users/KristofferC/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-21T17:11:16Z","updated_at":"2015-09-21T19:52:27Z","closed_at":"2015-09-21T19:50:10Z","pull_request":{"url":"https://api.github.com/repos/mauro3/Parameters.jl/pulls/2","html_url":"https://github.com/mauro3/Parameters.jl/pull/2","diff_url":"https://github.com/mauro3/Parameters.jl/pull/2.diff","patch_url":"https://github.com/mauro3/Parameters.jl/pull/2.patch"},"body":"I am not sure if this is wanted but I personally wanted it so thought I made a PR to see what you think. Potential problem is if you have a parameter type with large arrays,\r\n\r\nSome whitespace removal from my editor so easier to read at [b51a21b39e?w=1](https://github.com/KristofferC/Parameters.jl/commit/b51a21b39eadbf19bed382ea1e166c68fb12ce41?w=1)\r\n\r\nCurrently shows the first example in the `README` as:\r\n\r\n```jl\r\nPhysicalPara{Float64}\r\n  rw: 1000.0\r\n  ri: 900.0\r\n  L: 334000.0\r\n  g: 9.81\r\n  cw: 4220.0\r\n  day: 86400.0\r\n```\r\n\r\nbut that can be tweaked."},"comment":{"url":"https://api.github.com/repos/mauro3/Parameters.jl/issues/comments/142090781","html_url":"https://github.com/mauro3/Parameters.jl/pull/2#issuecomment-142090781","issue_url":"https://api.github.com/repos/mauro3/Parameters.jl/issues/2","id":142090781,"user":{"login":"mauro3","id":4098145,"avatar_url":"https://avatars.githubusercontent.com/u/4098145?v=3","gravatar_id":"","url":"https://api.github.com/users/mauro3","html_url":"https://github.com/mauro3","followers_url":"https://api.github.com/users/mauro3/followers","following_url":"https://api.github.com/users/mauro3/following{/other_user}","gists_url":"https://api.github.com/users/mauro3/gists{/gist_id}","starred_url":"https://api.github.com/users/mauro3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauro3/subscriptions","organizations_url":"https://api.github.com/users/mauro3/orgs","repos_url":"https://api.github.com/users/mauro3/repos","events_url":"https://api.github.com/users/mauro3/events{/privacy}","received_events_url":"https://api.github.com/users/mauro3/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T19:52:27Z","updated_at":"2015-09-21T19:52:27Z","body":"I found that I like the straight unpack better than the type-specific one as it is explicit about which variables it unpacks and still saves a lot of typing/bloat:\r\n```\r\n@unpack phys: rw, ri\r\n```"}}