Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit bd5aea6

Browse files
committed
Fix the doctests of the concrete analysis.
1 parent 0b86f91 commit bd5aea6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

semantic-core/src/Analysis/Concrete.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ data Edge = Lexical | Import
6565

6666
-- | Concrete evaluation of a term to a value.
6767
--
68-
-- >>> map fileBody (snd (concrete [File (Loc "bool" emptySpan) (Core.bool True)]))
68+
-- >>> map fileBody (snd (concrete eval [File (Loc "bool" emptySpan) (Core.bool True)]))
6969
-- [Right (Bool True)]
7070
concrete
7171
:: (Foldable term, Show (term User))
@@ -217,3 +217,4 @@ data EdgeType term
217217

218218
-- $setup
219219
-- >>> :seti -XOverloadedStrings
220+
-- >>> import qualified Data.Core as Core

0 commit comments

Comments
 (0)