halfsplit-0.4.3.0: A library to provide special kind of two-column output for Phladiprelio.
Copyright(c) OleksandrZhabenko 2023
LicenseMIT
Maintaineroleksandr.zhabenko@yahoo.com
StabilityExperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Phladiprelio.Halfsplit

Description

 
Synopsis

Documentation

halfsplit :: (Show a, Eq b) => (a -> b) -> Int8 -> [a] -> String Source #

Converts the data that is an instance of Show typeclass to be printed in two-column way.

halfsplit1G Source #

Arguments

:: (Show a, Eq b) 
=> (a -> b) 
-> String

Additional String added to every line before the "\n" character.

-> Int8 
-> [a] 
-> String 

Converts the data that is an instance of Show typeclass to be printed in two-column way with customizable ending of each line.

halfsplit2G Source #

Arguments

:: (Show a, Eq b) 
=> (a -> b) 
-> String

Additional String added to every line before the "\n" character.

-> String

A String that is prepended to the halfsplit1G result.

-> String

A String that is appended to the halfsplit1G result.

-> Int8 
-> [a] 
-> String 

A generalized version of halfsplit1G with the possibility to prepend and append strings to it.

splitGroups :: Int -> [[a]] -> ([[a]], [[a]], Int) Source #

print23 :: String -> String -> Int -> [String] -> IO () Source #