toad.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server operated by David Troy, a tech pioneer and investigative journalist addressing threats to democracy. Thoughtful participation and discussion welcome.

Administered by:

Server stats:

198
active users

#haskell

8 posts8 participants3 posts today

Kinda cool example of how #haskell ContT helps:

instead of:
bracket (open a) close $ \h ->
bracket (open b) close $ \h2 ->
doSomething h h2

you write:
do
h <- ContT . bracket (open a) close
h2 <- ContT . bracket (open b) close
pure $ doSomething h h2

and then squish to a version that easily extends to any number of brackets:
do
[h, h2] <- for [a, b] $
ContT . flip bracket close . open
pure $ doSomething h h2

This next week starts the winter vacations for me. Now I have two weeks to perform a functional programming training, in a new operative system and environment, NixOS and Xmonad tiling WM. It was a mind opening and learning experience, even I was choose it for the trends, I don't regret for it. But now I want to relearn and return to a tiling window manager, is time to say goodbye. Sayonara Arch Linux!

Continued thread

We have a relatively big code base in #haskell and the rate of bugs per release is quite low. I consider it as my failure as a team lead.

At some point we hadn't reverted releases for more then a year! Apparently managements though we don't have the technical ability to revert releases at all :)

For me it means that we were focusing on correctness too much neglecting issues that are more important for the company.