Minor code reformat.

This commit is contained in:
John MacFarlane 2014-06-01 15:29:27 -07:00
parent c8bc70a6bb
commit 6327ccf523

View file

@ -60,6 +60,11 @@ import qualified Control.Exception as E
import Text.Pandoc.MIME (getMimeType, extensionFromMimeType) import Text.Pandoc.MIME (getMimeType, extensionFromMimeType)
import Control.Applicative ((<|>)) import Control.Applicative ((<|>))
data ListMarker = NoMarker
| BulletMarker
| NumberMarker ListNumberStyle ListNumberDelim Int
deriving (Show, Read, Eq, Ord)
data WriterState = WriterState{ data WriterState = WriterState{
stTextProperties :: [Element] stTextProperties :: [Element]
, stParaProperties :: [Element] , stParaProperties :: [Element]
@ -73,11 +78,6 @@ data WriterState = WriterState{
, stLists :: [ListMarker] , stLists :: [ListMarker]
} }
data ListMarker = NoMarker
| BulletMarker
| NumberMarker ListNumberStyle ListNumberDelim Int
deriving (Show, Read, Eq, Ord)
defaultWriterState :: WriterState defaultWriterState :: WriterState
defaultWriterState = WriterState{ defaultWriterState = WriterState{
stTextProperties = [] stTextProperties = []