Questions tagged [monocle-ts]
2 questions
1
vote
0 answers
dynamic Optional.fromPath
Can i access nested properties with monocle-ts in a dynamic fashion?
The closest i can find directly from the library is the Optional.fromPath, combined with a dynamic path. Based on the example from the documentation for fromPath we can create a…

Simon
- 621
- 4
- 21
1
vote
3 answers
Ramda pick for fp-ts options / maybe
Using fp-ts. I have an option of an array
const arrayofKeys: Option>,
and an option of a record
const record: Option>
I want to pick the Vs of the Record where Ks intersect with the Array and stick the result in an Option.
In…

Simon
- 621
- 4
- 21