mapNotNullLaw

inline fun <A, B> Collection<A>.mapNotNullLaw(transform: (A) -> B?): List<B>