Re: [ANNOUNCE] GHC 9.2.1-rc1 now available

Sorry, I was unclear. I want it re-exported from Data.Tuple, so I don't
need to import ghc-prim:GHC.Tuple. I proposed this on the libraries list
last year, and the two people who responded agreed.
On Sun, Aug 22, 2021, 9:37 PM Viktor Dukhovni
On 22 Aug 2021, at 8:14 pm, David Feuer
wrote: One more question: is Solo exported from Data.Tuple yet, or do we still have to depend on ghc-prim and import it from GHC.Magic? It would be really nice to have that fixed by release, and it's so tiny.
The GHC.Tuple modules (from ghc-prim) are identical in the HEAD and ghc-9.2 branches. With HEAD I see:
$ ghci GHCi, version 9.3.20210809: https://www.haskell.org/ghc/ :? for help Loaded GHCi configuration from /usr/home/viktor/.ghc/ghci.conf λ> import GHC.Tuple λ> :info Solo type Solo :: * -> * data Solo a = Solo a -- Defined in ‘GHC.Tuple’ instance Applicative Solo -- Defined in ‘GHC.Base’ instance Functor Solo -- Defined in ‘GHC.Base’ instance Monad Solo -- Defined in ‘GHC.Base’ instance Monoid a => Monoid (Solo a) -- Defined in ‘GHC.Base’ instance Semigroup a => Semigroup (Solo a) -- Defined in ‘GHC.Base’ instance Show a => Show (Solo a) -- Defined in ‘GHC.Show’ instance Read a => Read (Solo a) -- Defined in ‘GHC.Read’ instance Foldable Solo -- Defined in ‘Data.Foldable’ instance Traversable Solo -- Defined in ‘Data.Traversable’
-- Viktor.

On 22 Aug 2021, at 9:45 pm, David Feuer
wrote: Sorry, I was unclear. I want it re-exported from Data.Tuple, so I don't need to import ghc-prim:GHC.Tuple. I proposed this on the libraries list last year, and the two people who responded agreed.
Clear now. This appears to not have been done yet in either HEAD or 9.2. Care to open an MR? -- Viktor.

If you opened an MR to add Solo to Data.Tuple, I would likely accept it.
Please make sure to ping @core-libraries.
Thanks
On Sun, Aug 22, 2021, 21:11 Viktor Dukhovni
On 22 Aug 2021, at 9:45 pm, David Feuer
wrote: Sorry, I was unclear. I want it re-exported from Data.Tuple, so I don't need to import ghc-prim:GHC.Tuple. I proposed this on the libraries list last year, and the two people who responded agreed.
Clear now. This appears to not have been done yet in either HEAD or 9.2. Care to open an MR?
-- Viktor.
_______________________________________________ Libraries mailing list Libraries@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries

Done. Need to know what GHC/base version changelog to stick it in.
On Sun, Aug 22, 2021, 10:26 PM chessai
If you opened an MR to add Solo to Data.Tuple, I would likely accept it. Please make sure to ping @core-libraries.
Thanks
On Sun, Aug 22, 2021, 21:11 Viktor Dukhovni
wrote: On 22 Aug 2021, at 9:45 pm, David Feuer
wrote: Sorry, I was unclear. I want it re-exported from Data.Tuple, so I don't need to import ghc-prim:GHC.Tuple. I proposed this on the libraries list last year, and the two people who responded agreed.
Clear now. This appears to not have been done yet in either HEAD or 9.2. Care to open an MR?
-- Viktor.
_______________________________________________ Libraries mailing list Libraries@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
_______________________________________________ Libraries mailing list Libraries@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries

Just did it :)
On Sun, Aug 22, 2021, 10:11 PM Viktor Dukhovni
On 22 Aug 2021, at 9:45 pm, David Feuer
wrote: Sorry, I was unclear. I want it re-exported from Data.Tuple, so I don't need to import ghc-prim:GHC.Tuple. I proposed this on the libraries list last year, and the two people who responded agreed.
Clear now. This appears to not have been done yet in either HEAD or 9.2. Care to open an MR?
-- Viktor.
_______________________________________________ Libraries mailing list Libraries@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
participants (3)
-
chessai
-
David Feuer
-
Viktor Dukhovni