انضم إلى نوستر
2024-10-30 14:06:48 UTC

Philipp :emacs: :nixos: on Nostr: I have a C interface that I'm trying to wrap in #haskell. There's a function that ...

I have a C interface that I'm trying to wrap in #haskell. There's a function that takes a "void*" with data, and a callback. The user is supposed to hold the "void*" until the callback is called. I wanted to use a ByteString, but it seems there's no way to adapt that. So...Vector? Any experience with that?