Safe Haskell | Safe |
---|---|
Language | Haskell98 |
- data Horizontal a = Horizontal {}
- data Vertical a = Vertical {}
- data Parts a = Parts (Vertical a) (Horizontal a)
- simple :: Parts Bool -> Char
- data Weight
- weighted :: Parts Weight -> Char
- data Directions a = Directions {
- vertical, horizontal :: a
- double :: Directions Bool -> Parts Bool -> Char
- doubleMaybe :: Directions Bool -> Parts Bool -> Maybe Char
Documentation
data Horizontal a Source #
Functor Horizontal Source # | |
Applicative Horizontal Source # | |
Foldable Horizontal Source # | |
Traversable Horizontal Source # | |
Eq a => Eq (Horizontal a) Source # | |
Show a => Show (Horizontal a) Source # | |
Semigroup a => Semigroup (Horizontal a) Source # | |
Monoid a => Monoid (Horizontal a) Source # | |
Parts (Vertical a) (Horizontal a) |
data Directions a Source #
Directions | |
|
Functor Directions Source # | |
Applicative Directions Source # | |
Foldable Directions Source # | |
Traversable Directions Source # | |
Eq a => Eq (Directions a) Source # | |
Show a => Show (Directions a) Source # | |
double :: Directions Bool -> Parts Bool -> Char Source #
This function is not total because half-width and half-height double bars are missing.
doubleMaybe :: Directions Bool -> Parts Bool -> Maybe Char Source #