chris__martin,
@chris__martin@functional.cafe avatar

Disregard Data.List; we should stop making streaming an advanced topic and just do it all the time https://open.substack.com/pub/typeclasses/p/disregard-data-list?r=27q3sd&utm_campaign=post&utm_medium=web&showWelcomeOnShare=true

acowley,

@chris__martin Any thoughts on how the community can’t settle on a streaming abstraction? I have the impression that streamly has the mindshare these days, but the divergent ecosystems associated with every approach have left some pretty significant scars.

chris__martin,
@chris__martin@functional.cafe avatar

@acowley Do you know if anybody has tried yet to come up with some typeclass abstractions, so maybe you could code against a more general library sometimes and plug in a concrete stream implementation?

acowley,

@chris__martin I’m afraid not. I feel like the typical arrangement of Stream m element result also makes the usual type classes not always what one wants. Do you want to map over the elements or the final result, for example? But it does seem like you could establish a common API over at least some common operations. I’m not sure where such efforts run out of steam; I’m sure people have tried.

chris__martin,
@chris__martin@functional.cafe avatar

@acowley (By the way, another dream of mine is a general API for defining random generators that you could swap quickcheck or hedgehog into)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • slotface
  • kavyap
  • thenastyranch
  • everett
  • osvaldo12
  • rosin
  • mdbf
  • DreamBathrooms
  • khanakhh
  • magazineikmin
  • InstantRegret
  • Youngstown
  • Durango
  • Leos
  • normalnudes
  • ngwrru68w68
  • modclub
  • anitta
  • tacticalgear
  • ethstaker
  • GTA5RPClips
  • cubers
  • megavids
  • provamag3
  • cisconetworking
  • tester
  • JUstTest
  • lostlight
  • All magazines