Yeah, we mentioned that the style guide really needs this type of example as it comes up a lot.

The indent by 4 for the first .then line followed by 2 for the function body feels a bit weird, but the answer was 'consistency, and you'll get used to it'. But I'll admit that I haven't settled on any particular syntax. I think the portion that weirded me out was the closing brackets on the same line :)