Alejandro Serrano Profile picture
๐Ÿ‘จโ€๐Ÿ’ป Researcher at Kotlin Evolution Team ๐Ÿง™โ€โ™‚๏ธ Haskell wizard ๐Ÿ“š Author of 4 books ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ +1 of @ElenaVielva
Sep 10 โ€ข 6 tweets โ€ข 2 min read
As preparation for my type checking workshop I've printed in a nice form four papers I think give you a better overview of the field. Here's a thread with them ๐Ÿงต Image "OutsideIn(X): modular type inference with local assumptions" () describes the constraint-based approach to typing. It builds quite slowly, but ends up with a Haskell-like language which even includes GADTs.simon.peytonjones.org/assets/pdfs/ouโ€ฆ
Mar 27, 2023 โ€ข 12 tweets โ€ข 2 min read
A small thread with some of my thoughts re. effects, continuations, and "direct style". ๐Ÿงต One of the ideas floating in the FP community is "declaring and handling effects", where "effect" ranges from "throws an error" to "uses something from the context". In essence, what we want to do is to control the execution of a piece of code from the outside.
Feb 21, 2022 โ€ข 4 tweets โ€ข 2 min read
It's time to announce that in this month-between-jobs I'm working on a NEW BOOK! ๐Ÿ“–

๐Ÿ“š Haskell (Almost) Standard Libraries ๐Ÿ“š

A walk through the main libraries used by the Haskell community for "common" tasks. Think of data structures, serialization, network... This is the current Table of Contents. Half of the book is already written โœ๏ธ, the parts marked with TODO are yet to be finished (or even started).

I'm aiming for a first beta release by the end of the month, and have it finished around April.
May 29, 2020 โ€ข 7 tweets โ€ข 1 min read
I have this idea of "Formal DDD" in my mind since some time ago. So I've thought "let's run it throught Twitter to see what people think" The core idea is to ensure that your "core domain" is really well-described, also in a way that can be formally verified. To do so you keep a model in Alloy/TLA+, which describes every invariant that the core domain should satisfy.
Oct 28, 2019 โ€ข 11 tweets โ€ข 2 min read
Here is my take on teaching #Haskell and what should we do better. Please engage in helpful criticism and discussion ๐Ÿ˜€

So, thread below ๐Ÿ‘‡ For me, "functional style" requires of these three things:
- focus on immutability and separation of side-effects,
- higher-order functions,
- data types with support for sums/choices.
Everything but the last point is available in many mainstreams languages *now*.