Commit 2b4af24b authored by Andrew Gibiansky's avatar Andrew Gibiansky

undoing debugging printDisplay

parent 59322359
......@@ -6,9 +6,7 @@ import IHaskell.Display
import Text.Printf
instance Show a => IHaskellDisplay (Maybe a) where
display just = do
printDisplay $ Display [stringDisplay, htmlDisplay]
return $ Display [stringDisplay, htmlDisplay]
display just = return $ Display [stringDisplay, htmlDisplay]
where
stringDisplay = plain (show just)
htmlDisplay = html str
......
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