Proposal: Tidy up and export PSQ from base
Johan Tibell
johan.tibell at gmail.com
Sun May 1 21:51:55 CEST 2011
On May 1, 2011 9:30 PM, "Edward Z. Yang" <ezyang at mit.edu> wrote:
>
> Excerpts from Johan Tibell's message of Sun May 01 15:19:55 -0400 2011:
> > Yes. And the values as well (i.e. monomorphic in the keys, priorities,
> > and values).
>
> Wait, values too? Doesn't look like it in the source...
>
> -- | @E k p@ binds the key @k@ with the priority @p at .
> data Elem a = E
> { key :: {-# UNPACK #-} !Key
> , prio :: {-# UNPACK #-} !Prio
> , value :: a
> } deriving (Eq, Show)
>
> Cheers,
> Edward
Seems like I remembered it wrong. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20110501/30ae221a/attachment.htm>
More information about the Libraries
mailing list