Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.
how can I decode something like
newtype RecursiveObject = RecursiveObject { child :: Maybe RecursiveObject }
with argonaut? (independent of weather or not there are other keys in the record if possible)
You should simply be able to call your decoder recursively?
wow, you're totally right. I was getting an error because I was doing it point free.
how can I decode something like
with argonaut? (independent of weather or not there are other keys in the record if possible)
You should simply be able to call your decoder recursively?
wow, you're totally right. I was getting an error because I was doing it point free.