Not really Arrow solution, but with standard kotli...
# arrow
g
Not really Arrow solution, but with standard kotlin collections API I would do this, if A is non-nullable:
Copy code
listOf(Some(1),Some(2),None,None).mapNonNull { it.getOrElse { null } }
­čĹŹ­čĆ╝ 1