typeclasses / haskell-phrasebook

The Haskell Phrasebook: a quick intro to Haskell via small annotated example programs
https://typeclasses.com/phrasebook
210 stars 22 forks source link

Queues #14

Open chris-martin opened 5 years ago

chris-martin commented 5 years ago

Haskell really shines at concurrent programming and it makes me happy. I've love to have an example that uses TQueue and/or TBQueue.

DKurilo commented 5 years ago

Is my example good enough or do I need to rework it? I wanted to show how it's possible to use TQueue and TBQueue as clear as it's possible. I hope I did it, but in case I missed something (or did something wrong), Ill be happy to fix it.

argumatronic commented 5 years ago

PR #18 adds one page on queues.

Queues are a topic we'd like to come back to and cover more expansively, so we will re-open this issue for the time being.

chris-martin commented 4 years ago

Note to self+others: see https://github.com/typeclasses/haskell-phrasebook/pull/39#issuecomment-648454636

friedbrice commented 4 years ago

I'll add a PR with my do-re-mi example and mention this issue.