mirror of
https://github.com/github/semantic.git
synced 2024-12-19 12:51:52 +03:00
Add a trace' function to help trace some bugs.
This commit is contained in:
parent
3e8517a2a3
commit
ed87838de6
@ -52,6 +52,9 @@ instance ToMarkup HTML where
|
||||
toMarkup (Div className children) = classifyMarkup className . div $ mconcat (toMarkup <$> children)
|
||||
toMarkup (Dt key) = dt $ string key
|
||||
|
||||
trace' :: Show a => a -> a
|
||||
trace' a = traceShow a a
|
||||
|
||||
split :: Diff a Info -> String -> String -> IO ByteString
|
||||
split diff before after = return . renderHtml
|
||||
. docTypeHtml
|
||||
|
Loading…
Reference in New Issue
Block a user