I've been search for a good tutorial on understanding this Monad but I'm unable to grasp the concept. I understand how IO monads work. Can anybody explain how to use Free monad to perform IO operation or DB writes with Ecto ?
Simply explaining with IO.puts() is enough.
Thanks,
Hari Roshan