all posts

Effect is Kleisli, etymologically

2025-11-26
It's pretty intriguing that the Effect type in this blog is exactly the traditional Kleisli type in haskell. We'll further show that Monad is the constraint we need to form the valid Effect category. If you are wondering about the meaning of effects in the haskell world, I believe this blog will help gain some understanding.

Hindley-milner type system demystified

2025-10-13
a guide to hindley-milner type system: types, unification & algorithm w with haskell implementation