purescript-0.13.0: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.Publish

Synopsis

Documentation

preparePackage :: PublishOptions -> IO (Either PackageError UploadedPackage) Source #

Attempt to retrieve package metadata from the current directory. Returns a PackageError on failure

unsafePreparePackage :: PublishOptions -> IO UploadedPackage Source #

Attempt to retrieve package metadata from the current directory. Calls exitFailure if no package metadata could be retrieved.

data PrepareM a Source #

Instances
Monad PrepareM Source # 
Instance details

Defined in Language.PureScript.Publish

Methods

(>>=) :: PrepareM a -> (a -> PrepareM b) -> PrepareM b #

(>>) :: PrepareM a -> PrepareM b -> PrepareM b #

return :: a -> PrepareM a #

fail :: String -> PrepareM a #

Functor PrepareM Source # 
Instance details

Defined in Language.PureScript.Publish

Methods

fmap :: (a -> b) -> PrepareM a -> PrepareM b #

(<$) :: a -> PrepareM b -> PrepareM a #

Applicative PrepareM Source # 
Instance details

Defined in Language.PureScript.Publish

Methods

pure :: a -> PrepareM a #

(<*>) :: PrepareM (a -> b) -> PrepareM a -> PrepareM b #

liftA2 :: (a -> b -> c) -> PrepareM a -> PrepareM b -> PrepareM c #

(*>) :: PrepareM a -> PrepareM b -> PrepareM b #

(<*) :: PrepareM a -> PrepareM b -> PrepareM a #

MonadIO PrepareM Source # 
Instance details

Defined in Language.PureScript.Publish

Methods

liftIO :: IO a -> PrepareM a #

MonadError PackageError PrepareM Source # 
Instance details

Defined in Language.PureScript.Publish

MonadWriter [PackageWarning] PrepareM Source # 
Instance details

Defined in Language.PureScript.Publish

data PublishOptions Source #

Constructors

PublishOptions 

Fields