Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Simple representation of text paragraphs.
Synopsis
- data UnparsedPara c = UnparsedPara {
- upText :: [c]
- emptyPara :: UnparsedPara c
Documentation
data UnparsedPara c Source #
Single paragraph that has not been parsed into lines.
UnparsedPara | |
|
Instances
Eq c => Eq (UnparsedPara c) Source # | |
Defined in WEditor.Base.Para (==) :: UnparsedPara c -> UnparsedPara c -> Bool # (/=) :: UnparsedPara c -> UnparsedPara c -> Bool # | |
Ord c => Ord (UnparsedPara c) Source # | |
Defined in WEditor.Base.Para compare :: UnparsedPara c -> UnparsedPara c -> Ordering # (<) :: UnparsedPara c -> UnparsedPara c -> Bool # (<=) :: UnparsedPara c -> UnparsedPara c -> Bool # (>) :: UnparsedPara c -> UnparsedPara c -> Bool # (>=) :: UnparsedPara c -> UnparsedPara c -> Bool # max :: UnparsedPara c -> UnparsedPara c -> UnparsedPara c # min :: UnparsedPara c -> UnparsedPara c -> UnparsedPara c # | |
Show c => Show (UnparsedPara c) Source # | |
Defined in WEditor.Base.Para showsPrec :: Int -> UnparsedPara c -> ShowS # show :: UnparsedPara c -> String # showList :: [UnparsedPara c] -> ShowS # |
emptyPara :: UnparsedPara c Source #
Create an empty paragraph.