Does anybody know if there is a function to combin...
# http4k
r
Does anybody know if there is a function to combine two lenses into a pair? Ex:
Copy code
val lens1: BiDiLens<Request, String?> = Query.string().optional("param1")
val lens2: BiDiLens<Request, String?> = Query.string().optional("param2")

// I would like a lens like this
val lens3: BiDiLens<Request, Pair<String?, String?>> = combine(lens1, lens2)