{"action":"created","issue":{"url":"https://api.github.com/repos/jverzani/SymPy.jl/issues/34","labels_url":"https://api.github.com/repos/jverzani/SymPy.jl/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/jverzani/SymPy.jl/issues/34/comments","events_url":"https://api.github.com/repos/jverzani/SymPy.jl/issues/34/events","html_url":"https://github.com/jverzani/SymPy.jl/issues/34","id":100304529,"number":34,"title":"`at_syms` instead of `at_vars`?","user":{"login":"jverzani","id":421708,"avatar_url":"https://avatars.githubusercontent.com/u/421708?v=3","gravatar_id":"","url":"https://api.github.com/users/jverzani","html_url":"https://github.com/jverzani","followers_url":"https://api.github.com/users/jverzani/followers","following_url":"https://api.github.com/users/jverzani/following{/other_user}","gists_url":"https://api.github.com/users/jverzani/gists{/gist_id}","starred_url":"https://api.github.com/users/jverzani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jverzani/subscriptions","organizations_url":"https://api.github.com/users/jverzani/orgs","repos_url":"https://api.github.com/users/jverzani/repos","events_url":"https://api.github.com/users/jverzani/events{/privacy}","received_events_url":"https://api.github.com/users/jverzani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-11T12:54:14Z","updated_at":"2015-11-08T19:15:25Z","closed_at":null,"body":"The macros syms and vars are similar, only vars assigns to values in the main workspace, whereas syms uses local assignment. MATLAB has a \"syms\" like macro that works like \"vars\". Perhaps the two should be renamed? Or should the current \"syms\" behaviour be retired? The `symbols` function does the same thing."},"comment":{"url":"https://api.github.com/repos/jverzani/SymPy.jl/issues/comments/154858980","html_url":"https://github.com/jverzani/SymPy.jl/issues/34#issuecomment-154858980","issue_url":"https://api.github.com/repos/jverzani/SymPy.jl/issues/34","id":154858980,"user":{"login":"dhoegh","id":7973946,"avatar_url":"https://avatars.githubusercontent.com/u/7973946?v=3","gravatar_id":"","url":"https://api.github.com/users/dhoegh","html_url":"https://github.com/dhoegh","followers_url":"https://api.github.com/users/dhoegh/followers","following_url":"https://api.github.com/users/dhoegh/following{/other_user}","gists_url":"https://api.github.com/users/dhoegh/gists{/gist_id}","starred_url":"https://api.github.com/users/dhoegh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhoegh/subscriptions","organizations_url":"https://api.github.com/users/dhoegh/orgs","repos_url":"https://api.github.com/users/dhoegh/repos","events_url":"https://api.github.com/users/dhoegh/events{/privacy}","received_events_url":"https://api.github.com/users/dhoegh/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T19:15:25Z","updated_at":"2015-11-08T19:15:25Z","body":"I have been tripped by the fact that `syms` in Matlab behave as `@vars`. So it seems reasonable to make `@syms`  to behave as `@vars`. In addition `@syms` is now equivalent and only marginally shorter than the function equivalent and using the function version is less magic as a macro can do anything.\r\n```\r\nx,y = @syms x, y\r\nx, y = symbols(\"x, y\")\r\n```\r\n"}}