Access sub bonds in a bond group #180
Closed
yellowbean
started this conversation in
Ideas
Replies: 1 comment
-
resolved by implement function |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
so far, I'm able to refer the Bond Group via "A" as access key.
Quesiton 1: But ,what if I would build a function: => Deal -> String -> Maybe Bond
Quesiton 2: If possible , I would like to build a lens/optics that would like => Deal -> String -> (Bond -> Bond) -> Deal
which will try it's best to find the bond via the String as key, then update the bond from the function, then return a "updated Deal"
Beta Was this translation helpful? Give feedback.
All reactions