When working on a new Kotlin project with Arrow I ...
# arrow
t
When working on a new Kotlin project with Arrow I get the feeling that I have to choose between using
Option
or Kotlin's nullable types (with
?
) to denote absences. Would it not be great that these two could somehow be integrated together so that nullable types (with
?
) would behave as Arrow's Option? I.e. provide the same methods and typeclass instances for
?
types as for Option types and allow them to be used anywhere where an Option could? Or is there some fundamental fault with this idea?