Unverified Commit 64931c4e authored by Vaibhav Sagar's avatar Vaibhav Sagar Committed by GitHub

Merge pull request #939 from lucasdicioccio/fix-haddock

Fix haddock generation.
parents f6386368 c67fcd45
...@@ -249,14 +249,18 @@ instance ToJSON WidgetMethod where ...@@ -249,14 +249,18 @@ instance ToJSON WidgetMethod where
toJSON (CustomContent v) = object ["method" .= ("custom" :: Text), "content" .= v] toJSON (CustomContent v) = object ["method" .= ("custom" :: Text), "content" .= v]
-- | Output of evaluation. -- | Output of evaluation.
--
-- A result can either be intermediate or final.
-- Final result has Mimebundles ('DisplayData') and Comm operations
-- ('WidgetMsg') on top of Display outputs.
data EvaluationResult data EvaluationResult
-- | An intermediate result which communicates what has been printed thus far. -- | An intermediate result which communicates what has been printed thus far.
= IntermediateResult = IntermediateResult
!Display -- ^ Display outputs. !Display
| FinalResult | FinalResult
!Display -- ^ Display outputs. !Display
![DisplayData] -- ^ Mimebundles to display in the IPython pager. ![DisplayData]
![WidgetMsg] -- ^ Comm operations ![WidgetMsg]
deriving Show deriving Show
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment