haskell-phrasebook
haskell-phrasebook copied to clipboard
The Haskell Phrasebook: a quick intro to Haskell via small annotated example programs
Re: https://github.com/typeclasses/haskell-phrasebook/issues/14
Proposed modifications to #40
Queues
Haskell really shines at concurrent programming and it makes me happy. I've love to have an example that uses [`TQueue`](https://hackage.haskell.org/package/stm-2.5.0.0/docs/Control-Concurrent-STM-TQueue.html) and/or [`TBQueue`](https://hackage.haskell.org/package/stm-2.5.0.0/docs/Control-Concurrent-STM-TBQueue.html).
* working with paths and directories * concurrently working with processes This is marked as _WIP_ because it has a few problems: 1. How to (or is it even a...
relates to issue https://github.com/typeclasses/haskell-phrasebook/issues/13 includes the content from the jumping off point provided, examples with a custom data type as key, map insertion, set behaviours including insert, union, difference.
Here's a records demo we wrote a while back: ```haskell import Numeric.Natural data Person = Person { name :: String -- ^ The person's given name , age :: Natural...
This is how I check my git repos every morning. This is a pretty long example, so it probably needs to be split into three smaller examples (which I'm happy...
Here's an example I jotted down a while ago. A slightly more practical example might be nice, but I don't think I've ever actually used mutable vectors in Haskell, nothing...