polysemy-fs (hackage):   [Index] [Quick Jump]  Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.  Package maintainers  For package maintainers and hackage trustees  Candidates    This package offers small filesystem effects for polysemy, such as:  It should be noted that these are very weak semantic abstractions, as it does not provide a way to speak to the filesystem as a whole, and therefore is somewhat unsuitable for mocking. These effects exist primarily to give interpreters a way to be precise in the type of filesystem operations they use, and should be treated in the same way as Embed IO in that regard. However, if you need a quick fix - then using this directly in application code is a slight improvement over using Embed IO directly.  Using these as very low level compilation units allows you to inject debugging everywhere you use a filesystem operation. For example, using co-log-polysemy we can do this:  For a look at a unified version of filesystem operations, check out polysemy-fskvstore
Keywords: bsd3|library|polysemy-filesystem