fay-0.21.0.2: A compiler for Fay, a Haskell subset that compiles to JavaScript.

Safe HaskellSafe-Inferred

Fay.Compiler.Prelude

Contents

Description

Re-exports of base functionality. Note that this module is just used inside the compiler. It's not compiled to JavaScript. Based on the base-extended package (c) 2013 Simon Meier, licensed as BSD3.

Synopsis

Control modules

Data modules

Safe

module Safe

Additions

anyM :: Monad m => (a -> m Bool) -> [a] -> m BoolSource

Do any of the (monadic) predicates match?

for :: Functor f => f a -> (a -> b) -> f bSource

Flip of map.

io :: MonadIO m => IO a -> m aSource

Alias of liftIO, I hate typing it. Hate reading it.

readAllFromProcess :: FilePath -> [String] -> String -> IO (Either (String, String) (String, String))Source

Read from a process returning both std err and out.