summaryrefslogtreecommitdiff
path: root/Com/Simatime/Go.hs
AgeCommit message (Collapse)Author
2020-04-01Bound ques to about 10 itemsBen Sima
I also block before taking, instead of doing a mult and tap. This is a simple way to fix the memory issue, and makes them conceptually simpler to work with I think. The channels are still mutli-consumer and multi-producer, which is fine. I'm not sure now I will implement the regular pubsub, but I'm not sure there is a great usecase for that anyway.
2020-03-30Rewrite Go to use unagi-chanBen Sima
The performance is reportedly better. The API is simpler. Also with STM channels, I couldn't get multiconsumer to work. I was able to get it to work with unagi. Also I could write 'mult' and 'tap' which bring me back to my Clojure days.
2020-03-30Add 'broadcast' and 'tap'Ben Sima
2020-03-28Refactor and remove custom operatorsBen Sima
As much as I like these operators, I have to remove them because they don't work as expected. Haskell doesn't allow you to have unary prefix operators. I can't find a way around this, and it's not that important anyway.
2019-11-02rename everything back to caps to appease ghcBen Sima