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:
parent
d70f95fa56
commit
36eb0df4a9
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user