mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Generalize the type of toOutput.
This commit is contained in:
parent
436063142c
commit
75ab25d443
@ -64,6 +64,8 @@ import qualified Data.ByteString as B
|
||||
import qualified Semantic.IO as IO
|
||||
|
||||
runBuilder = toStrict . toLazyByteString
|
||||
|
||||
toOutput :: O.Output o => o -> ByteString
|
||||
toOutput = runBuilder . O.toOutput
|
||||
|
||||
-- | Returns an s-expression formatted diff for the specified FilePath pair.
|
||||
|
Loading…
Reference in New Issue
Block a user