<@U0HH2MSVD> if it's in the docs then it's not pro...
# arrow
r
@heyitsmohit if it's in the docs then it's not properly type-checked because most of the docs are. Can you link where you found it? In the mean time the solution is
.ev()
Copy code
data class Profile(val id: Long, val name: String, val phone: Int)

fun profile(maybeId: Option<Long>,
            maybeName: Option<String>,
            maybePhone: Option<Int>) = Option<Profile> {
    
   Option.applicative().map(maybeId, maybeName, maybePhone, { (id, name, phone) ->
        Profile(id, name, phone)
    }).ev()

}