What is Nostr?
Philipp :emacs: :nixos: /
npub1439…9lnk
2024-10-30 14:06:48

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?
Author Public Key
npub14390lt6sxddk9xqlurll7czeunakr86fxnt0gqyzzadvhpmn0e0sr39lnk