{"action":"created","issue":{"url":"https://api.github.com/repos/QuantEcon/QuantEcon.jl/issues/55","labels_url":"https://api.github.com/repos/QuantEcon/QuantEcon.jl/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/QuantEcon/QuantEcon.jl/issues/55/comments","events_url":"https://api.github.com/repos/QuantEcon/QuantEcon.jl/issues/55/events","html_url":"https://github.com/QuantEcon/QuantEcon.jl/issues/55","id":91879655,"number":55,"title":"using QuantEcon results in error","user":{"login":"ranjanan","id":9101377,"avatar_url":"https://avatars.githubusercontent.com/u/9101377?v=3","gravatar_id":"","url":"https://api.github.com/users/ranjanan","html_url":"https://github.com/ranjanan","followers_url":"https://api.github.com/users/ranjanan/followers","following_url":"https://api.github.com/users/ranjanan/following{/other_user}","gists_url":"https://api.github.com/users/ranjanan/gists{/gist_id}","starred_url":"https://api.github.com/users/ranjanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranjanan/subscriptions","organizations_url":"https://api.github.com/users/ranjanan/orgs","repos_url":"https://api.github.com/users/ranjanan/repos","events_url":"https://api.github.com/users/ranjanan/events{/privacy}","received_events_url":"https://api.github.com/users/ranjanan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-29T18:49:11Z","updated_at":"2015-06-29T19:04:14Z","closed_at":"2015-06-29T19:04:14Z","body":"On Julia 0.4.0-dev master branch which I built right now, \r\n\r\n\"using QuantEcon\" results in the following error\r\n\r\nWarning: could not import Base.@math_const into Distributions\r\nERROR: LoadError: LoadError: LoadError: UndefVarError: @math_const not defined\r\n in include at ./boot.jl:254\r\n in include_from_node1 at ./loading.jl:133\r\n in include at ./boot.jl:254\r\n in include_from_node1 at ./loading.jl:133\r\n in reload_path at ./loading.jl:157\r\n in _require at ./loading.jl:69\r\n in require at ./loading.jl:55\r\n in include at ./boot.jl:254\r\n in include_from_node1 at ./loading.jl:133\r\n in reload_path at ./loading.jl:157\r\n in _require at ./loading.jl:69\r\n in require at ./loading.jl:52\r\nwhile loading /Users/ranjan/.julia/v0.4/Distributions/src/constants.jl, in expression starting on line 6\r\nwhile loading /Users/ranjan/.julia/v0.4/Distributions/src/Distributions.jl, in expression starting on line 252\r\nwhile loading /Users/ranjan/.julia/v0.4/QuantEcon/src/QuantEcon.jl, in expression starting on line 6\r\n\r\nI think they changed @math_const on master to something else (Irrational{:symbol} I think)."},"comment":{"url":"https://api.github.com/repos/QuantEcon/QuantEcon.jl/issues/comments/116797753","html_url":"https://github.com/QuantEcon/QuantEcon.jl/issues/55#issuecomment-116797753","issue_url":"https://api.github.com/repos/QuantEcon/QuantEcon.jl/issues/55","id":116797753,"user":{"login":"spencerlyon2","id":1001948,"avatar_url":"https://avatars.githubusercontent.com/u/1001948?v=3","gravatar_id":"","url":"https://api.github.com/users/spencerlyon2","html_url":"https://github.com/spencerlyon2","followers_url":"https://api.github.com/users/spencerlyon2/followers","following_url":"https://api.github.com/users/spencerlyon2/following{/other_user}","gists_url":"https://api.github.com/users/spencerlyon2/gists{/gist_id}","starred_url":"https://api.github.com/users/spencerlyon2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spencerlyon2/subscriptions","organizations_url":"https://api.github.com/users/spencerlyon2/orgs","repos_url":"https://api.github.com/users/spencerlyon2/repos","events_url":"https://api.github.com/users/spencerlyon2/events{/privacy}","received_events_url":"https://api.github.com/users/spencerlyon2/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T19:04:14Z","updated_at":"2015-06-29T19:04:14Z","body":"Yes, I think that would be good. It should be a simple addition to Compat.\r\n\r\nThe tricky part was that it is a change to an un-exported part of Base. So, I was trying to define the `@irrational` macro within `Base` by calling `eval(Base, SOME_EXPR_MAGIC)`, but I didn't quite figure out the EXPR_MAGIC before my self-alloted time allowance was up. "}}