KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there a shorter/better way to do the following : mySeq.map { elmt => // do stuff } if (mySeq.isEmpty) { // some other stuff } Ps : I'm using PlayFramework and this is meant to be used in templates, so if there are any "helpers" there I missed, I would be glad to discover those ;)
Tags (comma-separated)
Save Edits
Cancel