diff --git a/source/library/Language/Haskell/Brittany/Internal/WriteBriDoc/Types.hs b/source/library/Language/Haskell/Brittany/Internal/WriteBriDoc/Types.hs index 35849be..1e906ae 100644 --- a/source/library/Language/Haskell/Brittany/Internal/WriteBriDoc/Types.hs +++ b/source/library/Language/Haskell/Brittany/Internal/WriteBriDoc/Types.hs @@ -16,7 +16,7 @@ import Language.Haskell.Brittany.Internal.Types -data PlanneSpace +data PlannedSpace = PlannedNone | PlannedSameline Int | PlannedNewline Int @@ -45,7 +45,7 @@ data LayoutState = LayoutState -- on the first indented element have an -- annotation offset relative to the last -- non-indented element, which is confusing. - , _lstate_plannedSpace :: PlanneSpace + , _lstate_plannedSpace :: PlannedSpace -- , _lstate_isNewline :: NewLineState -- -- captures if the layouter currently is in a new line, i.e. if the -- -- current line only contains (indentation) spaces.