1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

Don’t use emptySpan in the doctests.

This commit is contained in:
Rob Rix 2019-10-07 17:18:53 -04:00
parent d70f95fa56
commit 36eb0df4a9
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -67,7 +67,7 @@ data Edge = Lexical | Import
-- | Concrete evaluation of a term to a value.
--
-- >>> map fileBody (snd (concrete eval [File (Loc "bool" emptySpan) (Core.bool True)]))
-- >>> map fileBody (snd (concrete eval [File (Loc "bool" (Span (Pos 1 1) (Pos 1 5))) (Core.bool True)]))
-- [Right (Bool True)]
concrete
:: (Foldable term, Show (term Name))