[Haskell-beginners] What does "(# #)" mean?
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.
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...
More information about the Beginners