RSSAmplifier

Blog

Flavio Corpa's feed

flaviocorpa.comRSS feed ↗16 posts

Latest posts

Haskell for Elm developers: giving names to stuff (Part 8 - IO)

Skip to content Home Sponsor me RSS Haskell for Elm developers: giving names to stuff (Part 8 - IO) 07/06/2026 | 10 min read [ haskell , elm , fp ] Welcome back! In my last post , we explored Traversable and discovered that “the answer is always traverse ”. Today we are going to tackle something that scares a LOT of newcomers to Haskell, and yet — surprise, surprise! — you have been doing it in…

Haskell for Elm developers: giving names to stuff (Part 7 - Traversable)

Skip to content Home Sponsor me RSS Haskell for Elm developers: giving names to stuff (Part 7 - Traversable) 26/03/2026 | 8 min read [ haskell , elm , fp ] Welcome back! In my last post , we explored the Foldable typeclass and how it showed up everywhere in Elm. And if you were paying attention, I teased at the very end that the next topic would be… Traversable ! 🎉 Today’s topic is one of my…

Haskell for Elm developers: giving names to stuff (Part 6 - Foldable)

Skip to content Home Sponsor me RSS Haskell for Elm developers: giving names to stuff (Part 6 - Foldable) 13/02/2026 | 6 min read [ haskell , elm , fp ] Welcome back! In my last post , we talked about Semigroups and Monoids, and we even discovered the deep relationship between folds and Monoids. But we left something out: the Foldable typeclass itself! So today, let’s give it the attention it…

Japan Prefectures Quiz: building a browser memory game with Elm

Skip to content Home Sponsor me RSS Japan Prefectures Quiz: building a browser memory game with Elm 05/11/2025 | 6 min read (updated: 16/12/2025 15:10) [ games , elm , fp , web , frontend ] After going on a holiday with my wife’s cousin and her sons, I decided to build a few games to memorize things I’ve always wanted to know by heart, namely: the flags of the world , the prefectures of Japan ,…

How to add estimated reading time to your Hakyll blog

Skip to content Home Sponsor me RSS How to add estimated reading time to your Hakyll blog 16/09/2025 | 1 min read [ haskell , fp , hakyll , web ] A while ago, I decided it was time to start blogging again, and I used Robert Pearce ’s excellent hakyll-nix-template to bootstrap this blog and as a way to learn Hakyll and Nix a little bit better. If it is your personal blog after all, you can use…

Building a non-trivial app with Elm and with Svelte

Skip to content Home Sponsor me RSS Building a non-trivial app with Elm and with Svelte 04/06/2025 | 11 min read [ frontend , svelte , elm , fp , web ] Motivation I recently started to volunteer by contributing to a Svelte + TypeScript codebase, and since I’m completely new to Svelte, I wanted to build something in my spare time with Svelte 5 to test it out and see how it differs from my previous…

The wish of the cat

Skip to content Home Sponsor me RSS The wish of the cat 03/04/2025 | 1 min read (updated: 22/06/2026 14:00) [ languages , japanese ] 猫の望み 遥 はる か 昔 むかし 、 江戸時代 えどじだい 、 宮島 みやじま のとある 丘 おか で… 桐島 きりしま というお 坊 ぼう さんがいて、 彼 かれ はいつも 日没後 にちぼつご 、 夜遅 よるおそ くまで 三味線 しゃみせん の 練習 れんしゅう をしていたんだ。その 夜 よる は 特 とく に 静 しず かで、 風 かぜ の 音 おと さえ 聞 き こえず、 木々 きぎ の 葉 は が 動 うご くのも 聞 き こえなかった… 満月 まんげつ の 夜更 よふ け、 弦楽器 げんがっき を 弾 ひ き 始…

My Journey to Japanese N3 Level

Skip to content Home Sponsor me RSS My Journey to Japanese N3 Level 18/09/2024 | 8 min read (updated: 06/11/2024 00:15) [ japanese , noken , languages , polyglot ] Recently, on the Bunpro community forums I was asked about my particular Japanese learning journey, and I decided this was a topic where I really wanted to pour out my thoughts, so here I go! It all started on my first trip to Japan in…

Haskell for Elm developers: giving names to stuff (Part 5 - Semigroups and Monoids)

Skip to content Home Sponsor me RSS Haskell for Elm developers: giving names to stuff (Part 5 - Semigroups and Monoids) 14/08/2024 | 6 min read (updated: 14/08/2024 15:15) [ haskell , elm , fp ] Hello everyone! In my last post , instead of going for the low-hanging fruit (like I’m doing right now 🤣) I decided to talk about parser combinators because it is a topic that I really enjoy. But now we…

Haskell for Elm developers: giving names to stuff (Part 4 - Parser combinators)

Skip to content Home Sponsor me RSS Haskell for Elm developers: giving names to stuff (Part 4 - Parser combinators) 28/03/2024 | 10 min read (updated: 03/04/2024 11:15) [ haskell , elm , fp ] ⚠️ DISCLAIMER ⚠️ This is by no means a full in-depth explanation of parser combinators, as there are many papers on the subject. This post assumes you are somewhat familiar with elm/parser , and thus you are…

Do you even Effect.ap, bro?

Skip to content Home Sponsor me RSS Do you even Effect.ap, bro? 17/11/2023 | 4 min read [ web , typescript , fp , effect-ts ] After my last functional programming workshop in React Alicante 2023, I got a fair complain: “Why aren’t we doing this in TypeScript”? . And the reason was simple: a few years ago, there was no clear improvement over Ramda and Crocks for JavaScript . These libraries worked…

Taking Screenshots with Elm 0.19

Skip to content Home Sponsor me RSS Taking Screenshots with Elm 0.19 04/08/2023 | 5 min read [ web , elm , fp , screenshots , frontend ] Recently I had to implement frontend screenshots in an Elm app, and all the blog posts I could find were for outdated versions of Elm (< 0.19)🌳, so here is how I managed to do it! Hopefully it helps someone else. 🤞🏻 My only 2 constraints were the following:…

Haskell for Elm developers: giving names to stuff (Part 3 - Monads!)

Skip to content Home Sponsor me RSS Haskell for Elm developers: giving names to stuff (Part 3 - Monads!) 01/03/2023 | 6 min read (updated: 03/03/2023 12:57) [ haskell , elm , fp ] It is finally time, I did not think I would ever write a Monad tutorial , but here it is! 😅 Let us have a look at the way Monad s are defined in Haskell: class ( Applicative m) => Monad m where return :: a -> m a (>>)…

Declarative UIs without CSS with elm-ui

Skip to content Home Sponsor me RSS Declarative UIs without CSS with elm-ui 24/02/2023 | less than a minute [ egghead , elm , elm-ui , web , frontend ] Check out my elm-ui course on egghead.io! elm-ui is a package for layout and interface design. This is a novel iteration on declarative styling where you can use Elm types and functions to define your UI in a declarative way. The novel part is that…

Haskell for Elm developers: giving names to stuff (Part 2 - Applicative Functors)

Skip to content Home Sponsor me RSS Haskell for Elm developers: giving names to stuff (Part 2 - Applicative Functors) 23/02/2023 | 6 min read (updated: 03/05/2023 15:22) [ haskell , elm , fp ] Since the previous post had some measure of success, I decided to continue the series! 🎉 Without much preamble, let’s look at the typeclass definition in Haskell for Applicative Functors: class ( Functor f)…

Haskell for Elm developers: giving names to stuff (Part 1 - Functors)

Skip to content Home Sponsor me RSS Haskell for Elm developers: giving names to stuff (Part 1 - Functors) 27/01/2023 | 6 min read [ haskell , elm , fp ] This post is targeted towards all those Elm developers (and functional programmers in general) who are curious about Haskell and would like to learn how what they already know and love from Elm maps directly to Haskell. Also, since Haskell’s…