| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Demo
Description
Each row below shows an import, a reference to the entity exported by the imported module, the link that Haddock generates for that reference, and the module that this link is expected to target.
| Import | Reference | Link | Expected Target Module |
|---|---|---|---|
import Demo.ModuleA (foo) | 'foo' | foo | Demo.ModuleA |
import qualified Demo.ModuleB | 'Demo.ModuleB.bar' | bar | Demo.ModuleB |
import qualified Demo.ModuleC as C | 'C.baz' | baz | Demo.ModuleC |
(none) | 'Demo.ModuleD.qux' | qux | Demo.ModuleD |
import Demo.ModuleE (quux) | 'quux' | quux | Demo.ModuleE |
import qualified Demo.ModuleF | 'Demo.ModuleF.quux' | quux | Demo.ModuleF |
The last two rows refer to different entities that share the same name.
Synopsis
- examples :: [Int]