Question about the notation of (# ... #)

Hal Daume III hdaume@ISI.EDU
Fri, 4 Oct 2002 08:41:22 -0700 (PDT)


This means its an unboxed tuple.  See recent thread about boxed
vs. unboxed.

--
Hal Daume III

 "Computer science is no more about computers    | hdaume@isi.edu
  than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume

On Fri, 4 Oct 2002, David Sabel wrote:

> Hi,
> 
> can somebody explain what the notation (# ... #)
> means?
> 
> For example it is used in the definition of unsafePerformIO:
> 
> unsafePerformIO :: IO a -> a
> unsafePerformIO (IO m) = case m realWorld# of (# _, r #)   -> r
> 
> Thanks, David
> 
> 
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users@haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>