@@ -44,7 +44,7 @@ instance Default Selector where
4444
4545instance Prompt Selector where
4646 prompt (SEL x) = withDefault cSelector cDefaultSelector x
47-
47+
4848-- | A sum of the possible Datastar specific events that can be sent
4949
5050data EventType =
@@ -101,7 +101,7 @@ instance Prompt MergeMode where
101101 prompt UpsertAttributes = cUpsertAttributes
102102
103103data FragmentOptions = FO {
104- , useViewTransition :: Bool
104+ useViewTransition :: Bool
105105 } deriving (Show )
106106
107107-- | the MergeFragments and RemoveFragment data types share these options
@@ -112,8 +112,8 @@ instance Default FragmentOptions where
112112 }
113113
114114instance Prompt FragmentOptions where
115- prompt (FO a b ) = mconcat . buildLines $ [
116- , withDefault cUseViewTransition (prompt cDefaultFragmentsUseViewTransitions) (prompt b )
115+ prompt (FO a) = mconcat . buildLines $ [
116+ withDefault cUseViewTransition (prompt cDefaultFragmentsUseViewTransitions) (prompt a )
117117 ]
118118
119119newtype AutoRemove = Auto Bool
@@ -138,12 +138,11 @@ bug :: Exception e => e -> a
138138bug = throw
139139
140140data ServerSentEventGeneratorExceptions =
141- BuildLineDataIMissing
142- | RemoveFragmentSelectorIsMissing
143- | SignalsSelectorIsMissing
144- | RemoveSignalsPathIsMissing
145- | RemoveSignalsPathIsEmpty
146- | ExecuteScriptIsMissing
141+ BuildLineDataIMissing
142+ | RemoveFragmentSelectorIsMissing
143+ | SignalsSelectorIsMissing
144+ | RemoveSignalsPathIsMissing
145+ | RemoveSignalsPathIsEmpty
146+ | ExecuteScriptIsMissing
147147
148148instance Exception ServerSentEventGeneratorExceptions
149-
0 commit comments