{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaStats/StatsModels.jl/issues/9","repository_url":"https://api.github.com/repos/JuliaStats/StatsModels.jl","labels_url":"https://api.github.com/repos/JuliaStats/StatsModels.jl/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/JuliaStats/StatsModels.jl/issues/9/comments","events_url":"https://api.github.com/repos/JuliaStats/StatsModels.jl/issues/9/events","html_url":"https://github.com/JuliaStats/StatsModels.jl/pull/9","id":195718967,"number":9,"title":"WIP: Replace infix ~ for formulas with a model macro","user":{"login":"ararslan","id":6396159,"avatar_url":"https://avatars.githubusercontent.com/u/6396159?v=3","gravatar_id":"","url":"https://api.github.com/users/ararslan","html_url":"https://github.com/ararslan","followers_url":"https://api.github.com/users/ararslan/followers","following_url":"https://api.github.com/users/ararslan/following{/other_user}","gists_url":"https://api.github.com/users/ararslan/gists{/gist_id}","starred_url":"https://api.github.com/users/ararslan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ararslan/subscriptions","organizations_url":"https://api.github.com/users/ararslan/orgs","repos_url":"https://api.github.com/users/ararslan/repos","events_url":"https://api.github.com/users/ararslan/events{/privacy}","received_events_url":"https://api.github.com/users/ararslan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":25,"created_at":"2016-12-15T05:15:48Z","updated_at":"2016-12-19T21:47:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaStats/StatsModels.jl/pulls/9","html_url":"https://github.com/JuliaStats/StatsModels.jl/pull/9","diff_url":"https://github.com/JuliaStats/StatsModels.jl/pull/9.diff","patch_url":"https://github.com/JuliaStats/StatsModels.jl/pull/9.patch"},"body":"Fixes #3 \r\n\r\nI've gone with `=>` here since we need something that parses as an infix operator. Once `~` stops being parsed as an infix macro, it's not clear to me whether it will still be parsed as an infix operator at all. Thus I've opted for something we can guarantee is infix."},"comment":{"url":"https://api.github.com/repos/JuliaStats/StatsModels.jl/issues/comments/268088180","html_url":"https://github.com/JuliaStats/StatsModels.jl/pull/9#issuecomment-268088180","issue_url":"https://api.github.com/repos/JuliaStats/StatsModels.jl/issues/9","id":268088180,"user":{"login":"ararslan","id":6396159,"avatar_url":"https://avatars.githubusercontent.com/u/6396159?v=3","gravatar_id":"","url":"https://api.github.com/users/ararslan","html_url":"https://github.com/ararslan","followers_url":"https://api.github.com/users/ararslan/followers","following_url":"https://api.github.com/users/ararslan/following{/other_user}","gists_url":"https://api.github.com/users/ararslan/gists{/gist_id}","starred_url":"https://api.github.com/users/ararslan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ararslan/subscriptions","organizations_url":"https://api.github.com/users/ararslan/orgs","repos_url":"https://api.github.com/users/ararslan/repos","events_url":"https://api.github.com/users/ararslan/events{/privacy}","received_events_url":"https://api.github.com/users/ararslan/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T21:47:19Z","updated_at":"2016-12-19T21:47:19Z","body":"> You may be wondering why formulas in Julia require a macro, but in R they appear \"bare.\" R uses nonstandard evaluation, allowing the formula to remain an unevaluated object while its terms are parsed out. Julia uses a much more standard evaluation mechanism, making this impossible using normal expressions. However, Julia provides macros, which allow code to be programmatically manipulated prior to evaluation. By constructing a formula using a macro, we're able to provide convenient, R-like syntax and semantics.\r\n\r\n?"}}
{"actor":{"display_login":"ararslan"}}