{"action":"created","issue":{"url":"https://api.github.com/repos/dmlc/MXNet.jl/issues/40","labels_url":"https://api.github.com/repos/dmlc/MXNet.jl/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/MXNet.jl/issues/40/comments","events_url":"https://api.github.com/repos/dmlc/MXNet.jl/issues/40/events","html_url":"https://github.com/dmlc/MXNet.jl/issues/40","id":119090105,"number":40,"title":"@defstruct macro","user":{"login":"Evizero","id":10854026,"avatar_url":"https://avatars.githubusercontent.com/u/10854026?v=3","gravatar_id":"","url":"https://api.github.com/users/Evizero","html_url":"https://github.com/Evizero","followers_url":"https://api.github.com/users/Evizero/followers","following_url":"https://api.github.com/users/Evizero/following{/other_user}","gists_url":"https://api.github.com/users/Evizero/gists{/gist_id}","starred_url":"https://api.github.com/users/Evizero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Evizero/subscriptions","organizations_url":"https://api.github.com/users/Evizero/orgs","repos_url":"https://api.github.com/users/Evizero/repos","events_url":"https://api.github.com/users/Evizero/events{/privacy}","received_events_url":"https://api.github.com/users/Evizero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-26T18:33:37Z","updated_at":"2015-11-29T20:36:18Z","closed_at":null,"body":"I really like your `@defstruct` macro. Don't you think this would be nice as a small package called `SimpleStructs.jl`? I would use it all the time"},"comment":{"url":"https://api.github.com/repos/dmlc/MXNet.jl/issues/comments/160467549","html_url":"https://github.com/dmlc/MXNet.jl/issues/40#issuecomment-160467549","issue_url":"https://api.github.com/repos/dmlc/MXNet.jl/issues/40","id":160467549,"user":{"login":"pluskid","id":3542,"avatar_url":"https://avatars.githubusercontent.com/u/3542?v=3","gravatar_id":"","url":"https://api.github.com/users/pluskid","html_url":"https://github.com/pluskid","followers_url":"https://api.github.com/users/pluskid/followers","following_url":"https://api.github.com/users/pluskid/following{/other_user}","gists_url":"https://api.github.com/users/pluskid/gists{/gist_id}","starred_url":"https://api.github.com/users/pluskid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pluskid/subscriptions","organizations_url":"https://api.github.com/users/pluskid/orgs","repos_url":"https://api.github.com/users/pluskid/repos","events_url":"https://api.github.com/users/pluskid/events{/privacy}","received_events_url":"https://api.github.com/users/pluskid/received_events","type":"User","site_admin":false},"created_at":"2015-11-29T20:36:18Z","updated_at":"2015-11-29T20:36:18Z","body":"@Evizero See https://github.com/pluskid/SimpleStructs.jl\r\n\r\nI made some improvements:\r\n* immutable type is allowed by using `@defimmutable`\r\n* required fields are allowed (omitting the default value will make the field *required*)\r\n* super type can be specified by the syntax `StructName <: SuperType`"}}