hw-polysemy-0.2.11.0: Opinionated polysemy library
Safe HaskellSafe-Inferred
LanguageHaskell2010

HaskellWorks.Polysemy.Cabal

Synopsis

Documentation

findDefaultPlanJsonFile :: Member (Embed IO) r => Member (Error IOException) r => Member Log r => Sem r FilePath Source #

Find the nearest plan.json going upwards from the current directory.

binDist Source #

Arguments

:: Member (Embed IO) r 
=> Member (Error GenericError) r 
=> Member (Error IOException) r 
=> Member Log r 
=> String

Package name

-> Sem r FilePath

Path to executable

Consult the "plan.json" generated by cabal to get the path to the executable corresponding. to a haskell package. It is assumed that the project has already been configured and the executable has been built.