Skip to content

Commit

Permalink
Update same unit example
Browse files Browse the repository at this point in the history
  • Loading branch information
tfausak authored Mar 31, 2024
1 parent 0600744 commit 8e931e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@ If you attempt to compile those modules in a single package, you'll get an
error like this:

```
B.hs:1:1: error: [GHC-58427]
attempting to use module ‘example-0:A’ (A.hs) which is not loaded
B.hs:3:10: error: [GHC-58427]
attempting to use module ‘example:A’ (A.hs) which is not loaded
|
1 | module B where
| ^
3 | bThing = A.aThing
| ^^^^^^^^
```

The only workarounds are to either import the module manually or move the
Expand Down

0 comments on commit 8e931e1

Please sign in to comment.