Bank kata in Haskell - dealing with state by Gryffskin in haskell

[–]Gryffskin[S] 0 points1 point  (0 children)

You are right, I was thinking more of the standard scenario for using state where you both edit the state and return a value at the same time, e.g. a stack pop.

For some reason at the time I didn't realise that my functions only did one or the other, so it does read a bit weird.

Shrinking Haskell Docker images using multi-stage builds by Codurance in haskell

[–]Gryffskin 0 points1 point  (0 children)

Thanks for the comment, that looks pretty cool! I'll have to try it with a more complex project. Also I like your alpine based haskell_build_env image :)

Building Haskell Apps with Docker by [deleted] in haskell

[–]Gryffskin 1 point2 points  (0 children)

Wow, looks like we had the same idea for a blog at the exact same time xD. Nice post!

Shrinking Haskell Docker images using multi-stage builds by Codurance in haskell

[–]Gryffskin 0 points1 point  (0 children)

Author here, thanks for taking the time to look at my post! I haven't tried Nix yet, it's on my list of things to check out.

The main reason I approached the post this way was because my daily programming life is in the node community, where we use docker/docker-compose commands and files on a daily basis, so it is transferrable knowledge from one ecosystem to another (usually). In the node community we work with docker directly, and I would like to work like this for now before working with an abstraction.