Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
pathToPkgName :: FilePath -> String Source
Identify the name of the package defining a msg.
stackName :: FilePath -> IO (Maybe String) Source
Identify the name of the stack in which a msg is defined. If the
package definining the message does not live in a stack, the result
is Nothing
.
codeGenDir :: FilePath -> IO FilePath Source
Given a path to a msg definition file, compute a destination
directory for generated Haskell code. A typical path will be under,
~.cabalshareroshask
.