Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Text/DocLayout.hs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ instance Monoid (Doc a) where

instance HasChars a => IsString (Doc a) where
fromString = text
{-# NOINLINE fromString #-}

-- | Unfold a 'Doc' into a flat list.
unfoldD :: Doc a -> [Doc a]
Expand Down Expand Up @@ -489,6 +488,7 @@ literal x =
then Empty
else Text (realLength s) s) $
splitLines x
{-# NOINLINE literal #-}

-- | A literal string. (Like 'literal', but restricted to String.)
text :: HasChars a => String -> Doc a
Expand Down