1
1
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:
Rob Rix 2018-05-14 10:31:40 -04:00
parent 436063142c
commit 75ab25d443

View File

@ -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.