[Haskell-beginners] What does "(# #)" mean?

Brandon Allbery allbery.b at gmail.com
Sat Apr 5 15:26:12 UTC 2014


On Sat, Apr 5, 2014 at 11:13 AM, John M. Dlugosz
<ngnr63q02 at sneakemail.com>wrote:

> The sources I've learned about thus far are not helping me with this one.
> What's "(#   #)"?
> Haskell is search-hostile.
>

http://symbolhound.com :p

It's an unboxed tuple, a type that is used internally (anything named with
a # is GHC internals). You can't work with it normally (you need an
extension to use the MagicHash), and it has a number of restrictions since
most things require a constructor but an unboxed tuple doesn't have one.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20140405/1a2f47e6/attachment.html>


More information about the Beginners mailing list