[Haskell-cafe] Re: Import qualified, inverse of hiding
John Van Enk
vanenkj at gmail.com
Mon Sep 15 16:04:37 EDT 2008
Would it make sense to add multiple imports to that wiki page? I'm not sure
if this is supported outside of GHC, but I've found it useful.
1 module Main where
2
3 import qualified Prelude as P
4 import Prelude ((++),show,($))
5
6 main = P.putStrLn (show $ P.length $ show $ [1] ++ [2,3])
On Mon, Sep 15, 2008 at 3:48 PM, Paulo Tanimoto <tanimoto at arizona.edu>wrote:
> You're welcome. By the way, this page seems pretty comprehensive.
>
> http://www.haskell.org/haskellwiki/Import
[snip]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080915/b331eaad/attachment.htm
More information about the Haskell-Cafe
mailing list