Open johnynek opened 1 year ago
this code predates cats-effect being a stable project so it uses a somewhat old style of Free-monad encoding of IO.
Just use cats.effect.IO and simplify.
If we want mockability, then have some module approach that makes all the file system functions abstract.
this code predates cats-effect being a stable project so it uses a somewhat old style of Free-monad encoding of IO.
Just use cats.effect.IO and simplify.
If we want mockability, then have some module approach that makes all the file system functions abstract.