<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://initial-mockingbird.github.io/</id><title>Yet Another Lambda Blog</title><subtitle>A semi-personal treasure room.</subtitle> <updated>2023-03-14T17:00:44-04:00</updated> <author> <name>Daniel Pinto</name> <uri>https://initial-mockingbird.github.io/</uri> </author><link rel="self" type="application/atom+xml" href="https://initial-mockingbird.github.io/feed.xml"/><link rel="alternate" type="text/html" hreflang="en" href="https://initial-mockingbird.github.io/"/> <generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator> <rights> © 2023 Daniel Pinto </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> <entry><title>A Naive approach to Functional Programming in C!</title><link href="https://initial-mockingbird.github.io/posts/Functional-Programming-in-C/" rel="alternate" type="text/html" title="A Naive approach to Functional Programming in C! " /><published>2023-03-14T05:15:00-04:00</published> <updated>2023-03-14T17:00:08-04:00</updated> <id>https://initial-mockingbird.github.io/posts/Functional-Programming-in-C/</id> <content src="https://initial-mockingbird.github.io/posts/Functional-Programming-in-C/" /> <author> <name>Daniel Pinto</name> </author> <category term="C" /> <summary> Motivation As per usual, every post should come with a motivation behind it! Something to solve. But this post is a little different. You see, C is a low-level language. It’s lightweight, handles memory explicitly, and has very little overhead. Which makes it perfect for situations where memory constraints are key, such as embedding programming. One could say that if you are not taking advan... </summary> </entry> <entry><title>Decorators in Haskell: Curry Away!</title><link href="https://initial-mockingbird.github.io/posts/Decorators-in-Haskell/" rel="alternate" type="text/html" title="Decorators in Haskell: Curry Away!" /><published>2023-02-12T23:30:00-04:00</published> <updated>2023-02-12T23:30:00-04:00</updated> <id>https://initial-mockingbird.github.io/posts/Decorators-in-Haskell/</id> <content src="https://initial-mockingbird.github.io/posts/Decorators-in-Haskell/" /> <author> <name>Daniel Pinto</name> </author> <category term="Haskell" /> <summary> Motivation This one is straight out of the Haskell reddit. If you would like to read it from the source, you can do so here. But since we like our posts to be as self-contained as possible. Here goes the story! Suppose we have a lot of functions that might fail, and let us assume that the way they fail is encoded in a particular Monad, say Maybe or Parser. What we want to achieve is a way to... </summary> </entry> <entry><title>Functions and Template Haskell: an alternative.</title><link href="https://initial-mockingbird.github.io/posts/Functions-and-Template-Haskell/" rel="alternate" type="text/html" title="Functions and Template Haskell: an alternative." /><published>2023-02-05T16:40:00-04:00</published> <updated>2023-02-05T20:52:06-04:00</updated> <id>https://initial-mockingbird.github.io/posts/Functions-and-Template-Haskell/</id> <content src="https://initial-mockingbird.github.io/posts/Functions-and-Template-Haskell/" /> <author> <name>Daniel Pinto</name> </author> <category term="Haskell" /> <summary> Borrowing Motivation We shall use the same motivation that we had in the Deriving Via, if you haven’t read that one, don’t worry! Here is a short description: Suppose that we are working with Haskell in the backend, and we need to communicate with PostgreSQL. So we start modeling our tables until we find out that the database administrators use very narrow types for certain actions: they crea... </summary> </entry> <entry><title>Deriving Via: A zero to hero tale.</title><link href="https://initial-mockingbird.github.io/posts/Deriving-Via/" rel="alternate" type="text/html" title="Deriving Via: A zero to hero tale." /><published>2023-02-05T03:00:00-04:00</published> <updated>2023-02-05T16:43:17-04:00</updated> <id>https://initial-mockingbird.github.io/posts/Deriving-Via/</id> <content src="https://initial-mockingbird.github.io/posts/Deriving-Via/" /> <author> <name>Daniel Pinto</name> </author> <category term="Haskell" /> <summary> Let’s begin with a little motivation, after all, nice abstractions solve some kind of problem: let’s say we are working on a Haskell backend that communicates with PostgreSQL. Thankfully, there are plenty of amazing libraries that allows us to query such database: Esqueleto with a PostgreSQL backend, Postgresql-simple and opaleye to name a few. Nevertheless, there will come a time when you are... </summary> </entry> </feed>
