module system/libraries bug

"Iavor S. Diatchki" <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
hello,
i am having the following problem (just tried it with the current cvs 
version, on linux)

 > import Array
 > import ST hiding (bounds)
 >
 > test x = bounds x

ERROR "test.hs":4 - Ambiguous variable occurrence "bounds"
*** Could refer to: Data.Array.Base.bounds Hugs.Array.bounds

I am not sure why ST is exporting "bounds" at all, but in any case
the "hiding" clause of the import should prevent the conflict.
a similar thing occurs with "indices", but then adding the "hiding"
clause solves the problem.

-iavor

-- 
==================================================
| Iavor S. Diatchki, Ph.D. student               | 
| Department of Computer Science and Engineering |
| School of OGI at OHSU                          |
| http://www.cse.ogi.edu/~diatchki               |
==================================================
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.