uni-util-2.3.0.2: Utilities for the uniform workbench

Safe HaskellSafe
LanguageHaskell98

Util.LineShow

Description

The LineShow type is simply a list type except that it has Read and Show instances which put the output line by line, preceded by the number of lines. This is useful for data files stored by CVS and similar systems.

Documentation

newtype LineShow a Source #

Constructors

LineShow [a] 
Instances
Read a => Read (LineShow a) Source # 
Instance details

Defined in Util.LineShow

Show a => Show (LineShow a) Source # 
Instance details

Defined in Util.LineShow

Methods

showsPrec :: Int -> LineShow a -> ShowS #

show :: LineShow a -> String #

showList :: [LineShow a] -> ShowS #