From bd565aa6b5ff0e82f8c3afeec449283b10cb23fc Mon Sep 17 00:00:00 2001 From: Vo Minh Thu Date: Thu, 27 Jun 2024 10:10:06 +0200 Subject: [PATCH] Add note to the README. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index b49c8ba..974f1e5 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,15 @@ suite](https://github.com/pugjs/pug/tree/master/packages/pug/test/cases). The expected HTML is not exactly the same: we pretty print it differently, or some tags are explicitely closed in Pug.js (e.g. `` vs. ``. +Modules from the code base are almost always imported "qualified". For example, +the module `Slab.Parse` is imported within `Slab.Run` as `Parse`. This is +replicated within GHCi too: + +``` +ghci> :i Parse.parseExpr +ghci> Parse.parseExpr "1 + 2 * a" +``` + # Tests To run the test suite, use the `runExamples` function within GHCi.