owickstrom / gi-gtk-declarative

Declarative GTK+ programming in Haskell
https://owickstrom.github.io/gi-gtk-declarative/
284 stars 32 forks source link

Parameterize Streaming Implementation for App.Simple? #94

Open guygastineau opened 3 years ago

guygastineau commented 3 years ago

So, Pipes seems fine, but we have a lot of options for streams in Haskell. Personally I like Streamly a lot.

Streamly has a good tutorial for interop with other libraries, so I have just been converting my Streamly types to Pipes types as the last step before they are fed in as producers. I don't really mind this, but it got me thinking about generalizing the producers in your state reducer. I haven;t looked at the code for the reducer yet, but I don't mind trying to figure it out.

Anyway, If people think this is a good idea I will work on it. If this is somehow not desirable, then I will just leave it alone ;)