elynx-tools-0.0.1: Tools for ELynx.

Copyright(c) Dominik Schrempf 2019
LicenseGPL-3
Maintainerdominik.schrempf@gmail.com
Stabilityunstable
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

ELynx.Tools.Misc

Contents

Description

Creation date: Thu Feb 14 13:32:19 2019.

Miscellaneous tools that do not have their own category (yet).

Synopsis

Not yet classified stuff

ensure :: (a -> Bool) -> a -> Maybe a Source #

Ensure that a value satisfies a given predicate.

Weird stuff

compose :: [a -> a] -> a -> a Source #

Chain a list of functions together. See https://wiki.haskell.org/Compose.

allValues :: (Bounded a, Enum a) => [a] Source #

Get all values of a bounded enumerated type.

horizontalConcat :: [[[a]]] -> [[a]] Source #

A brain f***. As an example, let xss be a list of alignments (i.e., a list of a list of a list of alleles). This function horizontally concatenates the sites. The number of species needs to be same in each alignment. No checks are performed!