Unit unboxed tuples

Stefan Holdermans stefan at vectorfabrics.com
Fri Dec 23 21:09:07 CET 2011


> Here are the kinds of the type constructors:
>  
>                 (,,) :: * -> * -> * -> *
>                 (,) :: * -> * -> *
>                 () :: *
>  
>                 (# ,, #) :: * -> * -> * -> #
>                 (# , #) :: *  -> * -> #
> BUT
>                 (#  #) :: * -> #

Just of out curiosity, what would be a compelling use case for singleton and unit unboxed tuples?

Cheers,

  Stefan



More information about the Glasgow-haskell-users mailing list