[Haskell-cafe] mistake in Gentle Introduction

Michael Vanier mvanier at cs.caltech.edu
Wed Sep 21 22:15:04 EDT 2005


On this page:

http://www.haskell.org/tutorial/modules.html

it refers to the process of hiding imported names from a module and gives
the example:

  import Prelude hiding length

whereas the correct syntax is

  import Prelude hiding (length)

I spent nearly an hour beating my head against this.  Can someone fix this
in the documentation?

Mike




More information about the Haskell-Cafe mailing list