1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 09:55:52 +03:00

Fewer parens.

This commit is contained in:
Rob Rix 2015-12-23 23:22:29 -05:00
parent 03526754e9
commit 83173a7b96

View File

@ -13,7 +13,7 @@ unSource :: Source a -> [a]
unSource (Source vector) = Vector.toList vector
subsource :: Range -> Source a -> Source a
subsource range (Source vector) = Source (Vector.slice (start range) (end range - start range) vector)
subsource range (Source vector) = Source $ Vector.slice (start range) (end range - start range) vector
toString :: Source Char -> String
toString = unSource