haskell-phrasebook icon indicating copy to clipboard operation
haskell-phrasebook copied to clipboard

The Haskell Phrasebook: a quick intro to Haskell via small annotated example programs

Results 26 haskell-phrasebook issues
Sort by recently updated
recently updated
newest added

We wrote this a while back to show what defining your own typeclass looks like. I'm not sure whether I like it, or whether this is actually a good topic...

good for new contributors
new example

As a jumping-off point for an example involving the `Map` type from [containers](https://hackage.haskell.org/package/containers) here is a fairly direct translation from [Go By Example](https://gobyexample.com/maps): ```haskell import qualified Data.Map as Map main...

good for new contributors
new example

I like concurrent logging as the subject as a Phrasebook example because it's a common need and a good excuse to concisely put together a lot of topics. Here's some...

good for new contributors
new example

There are a lot of things we could talk about on this topic. Just as a jumping-off point, here's some code that is more or less a direct translation from...

good for new contributors
new example

There's some extremely common time-related tasks it'd be really nice to demonstrate. - Rendering and parsing yyyy-mm-dd format - Getting the current unix timestamp as an integer in the units...

good for new contributors
new example

This would be sort of a followup to [common types](https://typeclasses.com/phrasebook/common-types) that goes more in depth on numbers. * Signed integers: `Integer`, `Int8`, `Int16`, `Int32`, `Int64` * Unsigned integers: `Natural`, `Word8`,...

good for new contributors
new example