# Effective Haskell: Missing import statement (ch. 5, p. 193, pdf, P1.0)

**URL:** <https://forum.devtalk.com/t/effective-haskell-missing-import-statement-ch-5-p-193-pdf-p1-0/161149>\
**Category:** PragProg Customers\
**Tags:** book-effective-haskell, errata\
**Created:** [6 July 2024 10:06 UTC](https://forum.devtalk.com/t/effective-haskell-missing-import-statement-ch-5-p-193-pdf-p1-0/161149 "2024-07-06T10:06:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vvnurmi](https://forum.devtalk.com/user_avatar/forum.devtalk.com/vvnurmi/32/6174_2.png) [@vvnurmi](https://forum.devtalk.com/u/vvnurmi)\
**Post date:** [6 July 2024 10:06 UTC](https://forum.devtalk.com/t/effective-haskell-missing-import-statement-ch-5-p-193-pdf-p1-0/161149/1 "2024-07-06T10:06:07Z")

</div>

@RebeccaSkinner

The book seems to be missing an import statement like

```auto
λ import HaskellBook.Examples.Introduction.CreatingModules (Name (Name))

```

in this passage;

> We’ll start by importing the Name type and its constructor, but not the getName field selector:

```auto
λ exampleName = Name "haskeller"
λ getName exampleName

<interactive>:5:1: error:
Variable not in scope: getName :: Name -> t

```
