Incorporating monad transformers

Hello!

I have for long wanted to make a sufficiently complex program so that I can experience the need for monad transformers! I started building a personal blog which, up to this point, uses Servant, Lucid and Opaleye.

My question is, should I wait for the opportunity or need for a custom monad stack to appear, or think about it straight away?

1 Like

I suggest following this principle for code that you actually care about the purpose of: You Arent Gonna Need It

“Always implement things when you actually need them, never when you just foresee that you need them.”

If the code is just a learning experience, do whatever you feel like!

2 Likes