{"action":"created","issue":{"url":"https://api.github.com/repos/dpsanders/ValidatedNumerics.jl/issues/76","labels_url":"https://api.github.com/repos/dpsanders/ValidatedNumerics.jl/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/dpsanders/ValidatedNumerics.jl/issues/76/comments","events_url":"https://api.github.com/repos/dpsanders/ValidatedNumerics.jl/issues/76/events","html_url":"https://github.com/dpsanders/ValidatedNumerics.jl/issues/76","id":114451272,"number":76,"title":"More syntax for creating intervals","user":{"login":"dpsanders","id":191822,"avatar_url":"https://avatars.githubusercontent.com/u/191822?v=3","gravatar_id":"","url":"https://api.github.com/users/dpsanders","html_url":"https://github.com/dpsanders","followers_url":"https://api.github.com/users/dpsanders/followers","following_url":"https://api.github.com/users/dpsanders/following{/other_user}","gists_url":"https://api.github.com/users/dpsanders/gists{/gist_id}","starred_url":"https://api.github.com/users/dpsanders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpsanders/subscriptions","organizations_url":"https://api.github.com/users/dpsanders/orgs","repos_url":"https://api.github.com/users/dpsanders/repos","events_url":"https://api.github.com/users/dpsanders/events{/privacy}","received_events_url":"https://api.github.com/users/dpsanders/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"dpsanders","id":191822,"avatar_url":"https://avatars.githubusercontent.com/u/191822?v=3","gravatar_id":"","url":"https://api.github.com/users/dpsanders","html_url":"https://github.com/dpsanders","followers_url":"https://api.github.com/users/dpsanders/followers","following_url":"https://api.github.com/users/dpsanders/following{/other_user}","gists_url":"https://api.github.com/users/dpsanders/gists{/gist_id}","starred_url":"https://api.github.com/users/dpsanders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpsanders/subscriptions","organizations_url":"https://api.github.com/users/dpsanders/orgs","repos_url":"https://api.github.com/users/dpsanders/repos","events_url":"https://api.github.com/users/dpsanders/events{/privacy}","received_events_url":"https://api.github.com/users/dpsanders/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-11-01T05:24:04Z","updated_at":"2015-11-02T16:54:11Z","closed_at":null,"body":"Allow the following:\r\n```julia\r\n@interval [1, 2]\r\n\r\nI\"[1, 2]\"\r\n\r\nII[3,4]\r\n\r\n3 + \"[2,3]\" \r\n```\r\nThe last is not so clear."},"comment":{"url":"https://api.github.com/repos/dpsanders/ValidatedNumerics.jl/issues/comments/153081386","html_url":"https://github.com/dpsanders/ValidatedNumerics.jl/issues/76#issuecomment-153081386","issue_url":"https://api.github.com/repos/dpsanders/ValidatedNumerics.jl/issues/76","id":153081386,"user":{"login":"lbenet","id":5237744,"avatar_url":"https://avatars.githubusercontent.com/u/5237744?v=3","gravatar_id":"","url":"https://api.github.com/users/lbenet","html_url":"https://github.com/lbenet","followers_url":"https://api.github.com/users/lbenet/followers","following_url":"https://api.github.com/users/lbenet/following{/other_user}","gists_url":"https://api.github.com/users/lbenet/gists{/gist_id}","starred_url":"https://api.github.com/users/lbenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbenet/subscriptions","organizations_url":"https://api.github.com/users/lbenet/orgs","repos_url":"https://api.github.com/users/lbenet/repos","events_url":"https://api.github.com/users/lbenet/events{/privacy}","received_events_url":"https://api.github.com/users/lbenet/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T16:54:11Z","updated_at":"2015-11-02T16:54:11Z","body":"Incidentally, the first one yields the following:\r\n```julia\r\njulia> @interval [1, 2]\r\n2-element Array{ValidatedNumerics.Interval{Float64},1}:\r\n [1.0, 1.0]\r\n [2.0, 2.0]\r\n```\r\n\r\nSo `transform` works, and creates a vector of arrays. That could be ok; yet, the following is a bit awkward:\r\n```julia\r\njulia> @interval [[1,2]; [2,3]]\r\n4-element Array{ValidatedNumerics.Interval{Float64},1}:\r\n [1.0, 1.0]\r\n [2.0, 2.0]\r\n [2.0, 2.0]\r\n [3.0, 3.0]\r\n```\r\n(I used `;` to concatenate, to avoid a warning message.)"}}