Utils
object Utils
Module that contains some utils useful with types and collections.
Extensions
Extensions
extension [A](elem: A)
Express a computation to perform on element only if a condition on that element is satisfied.
Express a computation to perform on element only if a condition on that element is satisfied.
- Value parameters:
- f
the condition on the element
- update
the function to apply if f is true