mirror of
https://github.com/github/semantic.git
synced 2024-12-30 18:36:27 +03:00
Remove extra parens
This commit is contained in:
parent
50611f2757
commit
905081cbf1
@ -15,7 +15,7 @@ import qualified Data.Syntax
|
|||||||
|
|
||||||
-- | Compute a 'IdentifierLabel' label for a 'Term'.
|
-- | Compute a 'IdentifierLabel' label for a 'Term'.
|
||||||
identifierLabel :: IdentifierName syntax => TermF syntax a b -> Maybe IdentifierLabel
|
identifierLabel :: IdentifierName syntax => TermF syntax a b -> Maybe IdentifierLabel
|
||||||
identifierLabel (In _ s) = IdentifierLabel <$> (identifierName s)
|
identifierLabel (In _ s) = IdentifierLabel <$> identifierName s
|
||||||
|
|
||||||
newtype IdentifierLabel = IdentifierLabel ByteString
|
newtype IdentifierLabel = IdentifierLabel ByteString
|
||||||
deriving (Show)
|
deriving (Show)
|
||||||
|
Loading…
Reference in New Issue
Block a user