{"issue":{"state":"open","created_at":"2011-11-23T20:34:43Z","updated_at":"2011-11-23T23:26:24Z","user":{"gravatar_id":"32652ed5b8fbd2ecdb1c78e9ac567b4b","id":4732,"url":"https://api.github.com/users/jashkenas","login":"jashkenas","avatar_url":"https://secure.gravatar.com/avatar/32652ed5b8fbd2ecdb1c78e9ac567b4b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":10,"body":"Good idea? https://groups.google.com/a/dartlang.org/group/misc/browse_thread/thread/611c04100ac17142","assignee":null,"number":1889,"id":2334250,"labels":[{"color":"84b6eb","name":"enhancement","url":"https://api.github.com/repos/jashkenas/coffee-script/labels/enhancement"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Dart Monocle Mustache ","closed_at":null,"html_url":"https://github.com/jashkenas/coffee-script/issues/1889","milestone":null,"url":"https://api.github.com/repos/jashkenas/coffee-script/issues/1889"},"action":"created","comment":{"created_at":"2011-11-23T23:26:24Z","updated_at":"2011-11-23T23:26:24Z","user":{"gravatar_id":"5f9ff4124b15a3e235e87ac35784b6e2","id":574696,"url":"https://api.github.com/users/paulmillr","login":"paulmillr","avatar_url":"https://secure.gravatar.com/avatar/5f9ff4124b15a3e235e87ac35784b6e2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Current chaining works very well for me:\r\n\r\n```coffeescript\r\nitems\r\n  .map (item) ->\r\n    someRandomThing\r\n    bla bla bla\r\n    item\r\n      .filter (inner) ->\r\n        inner?\r\n      .sort (a, b) ->\r\n        a - b\r\n      .reduce (memo, value) ->\r\n        memo - value\r\n  .reduce (memo, value) ->\r\n    bla bla bla\r\n    bla bla bla\r\n```\r\n\r\nIn te cases of one-line methods it requires additional brackets, but it's still OK:\r\n\r\n```coffeescript\r\nitems\r\n  .map((item) -> bla bla bla)\r\n  .reduce(((memo, value) -> bla bla bla), 0)\r\n```\r\n\r\nSo, :-1:.","id":2856408,"url":"https://api.github.com/repos/jashkenas/coffee-script/issues/comments/2856408"}}