ms@fp

GLHF with Functors

If functional programming were a theme park, Functors would be the friendly ride operators who take your values, lift them gently into a context, and make sure any transformation you apply goes smoothly and safely.

read more

Breezy with 'em Monads

Monads may have a reputation for being the “philosophers” of functional programming—but when it comes to parsing, they’re surprisingly practical, elegant, and even a little magical.
Today, let’s take a pleasant stroll through monadic parsers and monad transformers, and see how they make parsing logic clean, composable, and expressive.

read more

Haskell and Mathematical Series

Recently, in a university course, I was fiddling with mathematical series and their definitions in either a recursive or an explicit form. Sure, sounds like some textbook, rather boring stuff, you may say. However, I found it quite interesting (and fun too) and above all, I leveraged the power of Haskell to play around with these series.

read more

Hello, Haskell

Well, starts (of virtually any kind) can be tough; but, hey, I made it here (I clearly have not been postponing writing in here for a few months). In any case, let’s embark on this journey together, shall we?

read more