{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":{"state":"open","open_issues":7,"url":"https://api.github.com/repos/mfichman/apollo/milestones/3","due_on":"2011-11-28T08:00:00Z","number":3,"title":"Version 0.2","description":"Add and test advanced features, including: double-dispatch (functors), collection literals, closures, coroutines, regex literals.","creator":{"avatar_url":"https://secure.gravatar.com/avatar/0d9a06fa821136eee3a4c097fb452c58?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0d9a06fa821136eee3a4c097fb452c58","url":"https://api.github.com/users/mfichman","login":"mfichman","id":198761},"closed_issues":10,"created_at":"2011-07-18T02:18:49Z"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/0d9a06fa821136eee3a4c097fb452c58?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0d9a06fa821136eee3a4c097fb452c58","url":"https://api.github.com/users/mfichman","login":"mfichman","id":198761},"labels":[],"assignee":null,"updated_at":"2011-11-14T17:00:23Z","comments":1,"closed_at":"2011-11-14T17:00:23Z","url":"https://api.github.com/repos/mfichman/apollo/issues/41","body":"Add enums, which are basically implemented as a set of integers inside a class scope.  For example:\r\n\r\n    CarState < Enum {\r\n        ON\r\n        BROKEN\r\n        OFF\r\n    }\r\n\r\nAnother alternative syntax is:\r\n\r\n    CarState = ON | BROKEN | OFF \r\n\r\nSimilarly, union types have a similar syntax:\r\n\r\n    JsonValue = String | Int | Float\r\n\r\nOr:\r\n \r\n    JsonValue < Union {\r\n        String\r\n        Int\r\n        Float\r\n    }","html_url":"https://github.com/mfichman/apollo/issues/41","number":41,"title":"Enums and Constants","id":2220128,"created_at":"2011-11-13T04:15:15Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/0d9a06fa821136eee3a4c097fb452c58?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0d9a06fa821136eee3a4c097fb452c58","url":"https://api.github.com/users/mfichman","login":"mfichman","id":198761},"updated_at":"2011-11-14T17:00:23Z","url":"https://api.github.com/repos/mfichman/apollo/issues/comments/2733007","body":"Closed, except for an unrelated issue: Auto-importing is now ambiguous, because A::B::symbol could be from a module named \"A::B\" or from a class named \"B\" in module \"A\".  To resolve, each module in the path will have to be tried for import separately, starting with A::B::C; and if that fails, A::B; and if that fails, A.","id":2733007,"created_at":"2011-11-14T17:00:23Z"}}