1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00

Rename the SymbolLiteral constructor to Symbol.

This commit is contained in:
Rob Rix 2017-05-01 17:20:36 -04:00
parent 19c0abc218
commit d025774908

View File

@ -71,7 +71,7 @@ instance Eq1 TextElement where liftEq = genericLiftEq
instance Show1 TextElement where liftShowsPrec = genericLiftShowsPrec
newtype Symbol a = SymbolLiteral { symbolContent :: ByteString }
newtype Symbol a = Symbol { symbolContent :: ByteString }
deriving (Eq, Foldable, Functor, Generic1, Show, Traversable)
instance Eq1 Symbol where liftEq = genericLiftEq