tginiotis
02/28/2018, 3:08 PMOption
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?