language-ninja-0.2.0: A library for dealing with the Ninja build language.

CopyrightCopyright 2017 Awake Security
LicenseApache-2.0
Maintaineropensource@awakesecurity.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Language.Ninja.Misc.Command0.1.0

Description

A datatype representing a POSIX sh command line.

Synopsis

Documentation

data Command Source 0.1.0#

This type represents a POSIX sh command line.

Instances

Eq Command  

Methods

(==) :: Command -> Command -> Bool #

(/=) :: Command -> Command -> Bool #

Ord Command  
Read Command  
Show Command  
Generic Command  

Associated Types

type Rep Command :: * -> * #

Methods

from :: Command -> Rep Command x #

to :: Rep Command x -> Command #

Hashable Command  

Methods

hashWithSalt :: Int -> Command -> Int #

hash :: Command -> Int #

ToJSON Command  
FromJSON Command  
NFData Command  

Methods

rnf :: Command -> () #

(Monad m, Serial m Text) => Serial m Command

Uses the underlying Text instance.0.1.0

Methods

series :: Series m Command #

(Monad m, CoSerial m Text) => CoSerial m Command

Uses the underlying Text instance.0.1.0

Methods

coseries :: Series m b -> Series m (Command -> b) #

type Rep Command  
type Rep Command = D1 (MetaData "Command" "Language.Ninja.Misc.Command" "language-ninja-0.2.0-4aVVODOvkNMFxGcRpnztag" True) (C1 (MetaCons "MkCommand" PrefixI True) (S1 (MetaSel (Just Symbol "_commandText") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

makeCommand :: Text -> Command Source 0.1.0#

Constructor for a Command.

commandText :: Iso' Command Text Source 0.1.0#

An isomorphism between a Command and its underlying Text.