nh2 / nh2/call-haskell-from-anything
Returning complex objects.
- Lingua principale
- Haskell
- Stelle
- 402
- Fork
- 20
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hi, it'e me again. I'm not sure this is the right place for my question but I'll just go ahead and ask. I've been playing around with this library extensively and I am running into trouble when returning more complex objects.
That bites me already when returning something like `[0]` from a function. The ffi (i.e. in Ruby) assumes it encountered the end of the string when it finds `null` somewhere along the way which breaks deserialization (at least I think that's what's happening). I don't really see a viable workaround. I would want to return the size of the message along with the message but I have no idea how to do that. Are there other workarounds? Am I completely missing a point here?
Thanks for your time.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.