Questions tagged [haskell-ffi]

17 questions
0
votes
1 answer

Haskell FFI - return updated structure

I have the following C function that I want to call from Haskell: void read_params_for (property_list_t *props); The function is supposed to receive some property_list_t and populate some values within it, so the caller then has an updated…
Alexey Raga
  • 7,457
  • 1
  • 31
  • 40
-4
votes
2 answers

How to elegantly represent infinite Haskell recursive datastructure in Python?

Regarding How to elegantly represent finite Haskell recursive datastructure in Python?, I was thinking how would I represent an infinite data structure (without any non-constructor function inside it) from Haskell in Python using Haskell…
Přemysl Šťastný
  • 1,676
  • 2
  • 18
  • 39
1
2