Skip to content
Discussion options

You must be logged in to vote

There is no real proper way. Using control flow is a bit of a hack, but it works. You could also manually use indent control to inset the body of the lambda.

We probably need some helper here, but it's never been massively pressing to create.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@JakeWharton
Comment options

Answer selected by rvp-diconium
@rvp-diconium
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants