refactor: fix haddock
This commit is contained in:
parent
944f74744e
commit
bd660ab7ad
@ -247,11 +247,11 @@ data MassInputException = MassInputInvalidShape
|
|||||||
instance Exception MassInputException
|
instance Exception MassInputException
|
||||||
|
|
||||||
data MassInput handler liveliness cellData cellResult = forall i. PathPiece i => MassInput
|
data MassInput handler liveliness cellData cellResult = forall i. PathPiece i => MassInput
|
||||||
{ miAdd :: BoxCoord liveliness -- ^ Position (dimensions after @dimIx@ are zero)
|
{ miAdd :: BoxCoord liveliness -- Position (dimensions after @dimIx@ are zero)
|
||||||
-> Natural -- ^ Zero-based dimension index @dimIx@
|
-> Natural -- Zero-based dimension index @dimIx@
|
||||||
-> liveliness -- ^ Previous liveliness
|
-> liveliness -- Previous liveliness
|
||||||
-> (Text -> Text) -- ^ Nudge deterministic field ids
|
-> (Text -> Text) -- Nudge deterministic field ids
|
||||||
-> FieldView UniWorX -- ^ Submit button
|
-> FieldView UniWorX -- Submit button
|
||||||
-> Maybe (Markup -> MForm handler (FormResult (Map (BoxCoord liveliness) cellData -> FormResult (Map (BoxCoord liveliness) cellData)), Widget)) -- ^ Construct a Cell-Addition Widget
|
-> Maybe (Markup -> MForm handler (FormResult (Map (BoxCoord liveliness) cellData -> FormResult (Map (BoxCoord liveliness) cellData)), Widget)) -- ^ Construct a Cell-Addition Widget
|
||||||
, miCell :: BoxCoord liveliness -- Position
|
, miCell :: BoxCoord liveliness -- Position
|
||||||
-> cellData -- @cellData@ from @miAdd@
|
-> cellData -- @cellData@ from @miAdd@
|
||||||
|
|||||||
@ -149,7 +149,7 @@ data AuthorshipStatementSubmissionState
|
|||||||
deriving (Eq, Read, Show, Enum, Bounded, Generic, Typeable)
|
deriving (Eq, Read, Show, Enum, Bounded, Generic, Typeable)
|
||||||
deriving anyclass (Universe, Finite)
|
deriving anyclass (Universe, Finite)
|
||||||
|
|
||||||
deriving stock instance Ord AuthorshipStatementSubmissionState -- ^ Larger roughly encodes better; summaries are taken with `max`
|
deriving stock instance Ord AuthorshipStatementSubmissionState
|
||||||
|
|
||||||
nullaryPathPiece ''AuthorshipStatementSubmissionState $ camelToPathPiece' 1
|
nullaryPathPiece ''AuthorshipStatementSubmissionState $ camelToPathPiece' 1
|
||||||
pathPieceCsv ''AuthorshipStatementSubmissionState
|
pathPieceCsv ''AuthorshipStatementSubmissionState
|
||||||
|
|||||||
Reference in New Issue
Block a user