slynx-0.6.0.0: Handle molecular sequences
Copyright(c) Dominik Schrempf 2021
LicenseGPL-3.0-or-later
Maintainerdominik.schrempf@gmail.com
Stabilityunstable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

SLynx.Options

Description

Creation date: Sat Sep 7 18:55:03 2019.

Synopsis

Documentation

data Arguments a #

Argument skeleton to be used with all commands.

Constructors

Arguments 

Fields

Instances

Instances details
Eq a => Eq (Arguments a) 
Instance details

Defined in ELynx.Tools.Options

Methods

(==) :: Arguments a -> Arguments a -> Bool #

(/=) :: Arguments a -> Arguments a -> Bool #

Show a => Show (Arguments a) 
Instance details

Defined in ELynx.Tools.Options

Generic (Arguments a) 
Instance details

Defined in ELynx.Tools.Options

Associated Types

type Rep (Arguments a) :: Type -> Type #

Methods

from :: Arguments a -> Rep (Arguments a) x #

to :: Rep (Arguments a) x -> Arguments a #

ToJSON a => ToJSON (Arguments a) 
Instance details

Defined in ELynx.Tools.Options

FromJSON a => FromJSON (Arguments a) 
Instance details

Defined in ELynx.Tools.Options

Reproducible a => Reproducible (Arguments a) 
Instance details

Defined in ELynx.Tools.Options

type Rep (Arguments a) 
Instance details

Defined in ELynx.Tools.Options

type Rep (Arguments a) = D1 ('MetaData "Arguments" "ELynx.Tools.Options" "elynx-tools-0.6.0.0-C9yWy4KiDAwCuzNwLVWAR7" 'False) (C1 ('MetaCons "Arguments" 'PrefixI 'True) (S1 ('MetaSel ('Just "global") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GlobalArguments) :*: S1 ('MetaSel ('Just "local") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))

data CommandArguments Source #

The different SLynx commands and their arguments.

Instances

Instances details
Eq CommandArguments Source # 
Instance details

Defined in SLynx.Options

Show CommandArguments Source # 
Instance details

Defined in SLynx.Options

Generic CommandArguments Source # 
Instance details

Defined in SLynx.Options

Associated Types

type Rep CommandArguments :: Type -> Type #

ToJSON CommandArguments Source # 
Instance details

Defined in SLynx.Options

FromJSON CommandArguments Source # 
Instance details

Defined in SLynx.Options

Reproducible CommandArguments Source # 
Instance details

Defined in SLynx.Options

type Rep CommandArguments Source # 
Instance details

Defined in SLynx.Options

parseArguments :: Reproducible a => IO (Arguments a) #

Parse arguments. Provide a global description, header, footer, and so on. Custom additional description (first argument) and footer (second argument) can be provided. print help if needed.