Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Within code block between braces { }, an instruction is expected. Expression
a-b
isn't an instruction. What may confuse you is, thata-b
at compilation expands to{ return a-b; }
. So, in lambda expression you can use simplified notationa-b
or full instruction{ return a-b; }
, but can't mix them.