fay-0.20.0.1: 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

Documentation

module Prelude

Control modules

Data modules

module Data.Char

module Data.Data

module Data.List

module Data.Maybe

module Data.Ord

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.