Skip to content

Commit d1e182b

Browse files
committed
Better fix for parsing doc
1 parent c879919 commit d1e182b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/parsing.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ module P =
4949
(Dolmen.Std.Loc)(Dolmen.Std.Id)(Dolmen.Std.Term)(Dolmen.Std.Statement)
5050
(Dolmen.Std.Extensions.Smtlib2)
5151
52-
let _ = P.parse_all (`File "example.smt2")
52+
let _, lazy_l = P.parse_all (`File "example.smt2")
53+
let statements = Lazy.force lazy_l
5354
```
5455

5556
For more examples, see the [tutorial](https://github.com/Gbury/dolmen/tree/master/doc/tuto.md).

0 commit comments

Comments
 (0)