arrow-kt / arrow-core

Λrrow Core is part of Λrrow, a functional companion to Kotlin's Standard Library
http://arrow-kt.io
Other
81 stars 30 forks source link

Unify syntax for extracting inner values #338

Closed nomisRev closed 3 years ago

nomisRev commented 3 years ago

Related to an old ticket which we want to clear up while moving towards 1.0.0

https://github.com/arrow-kt/arrow-core/issues/20

Many nested values have their own identifiers:

Some.t
Left.l
Right.r
...

This issue is to track the creation of extension syntax for all those datatypes that bring a unified access to the inner property through property extension. Ex taken from slack where @hastebrot proposed: