[no subject]

2021-11-26 Thread Harendra Kumar
Hi GHC devs,

While compiling the primitive package using ghc head I ran into the
following error:

Data/Primitive/Types.hs:265:870: error:
• Couldn't match type ‘Word64#’ with ‘Word#’
  Expected: Word64_#
Actual: Word64#
• In the fourth argument of ‘setWord64Array#’, namely ‘x#’
  In the first argument of ‘internal’, namely
‘(setWord64Array# arr# i n x#)’
  In the first argument of ‘unsafeCoerce#’, namely
‘(internal (setWord64Array# arr# i n x#))’
|
265 | derivePrim(Word64, W64#, sIZEOF_WORD64, aLIGNMENT_WORD64,
|



Any idea what this is and how it can be fixed?

-harendra
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Compiling "primitive" with ghc head

2021-11-26 Thread Harendra Kumar
Forgot to add subject in the previous email.

On Sat, 27 Nov 2021 at 01:01, Harendra Kumar 
wrote:

> Hi GHC devs,
>
> While compiling the primitive package using ghc head I ran into the
> following error:
>
> Data/Primitive/Types.hs:265:870: error:
> • Couldn't match type ‘Word64#’ with ‘Word#’
>   Expected: Word64_#
> Actual: Word64#
> • In the fourth argument of ‘setWord64Array#’, namely ‘x#’
>   In the first argument of ‘internal’, namely
> ‘(setWord64Array# arr# i n x#)’
>   In the first argument of ‘unsafeCoerce#’, namely
> ‘(internal (setWord64Array# arr# i n x#))’
> |
> 265 | derivePrim(Word64, W64#, sIZEOF_WORD64, aLIGNMENT_WORD64,
> |
>
>
>
> Any idea what this is and how it can be fixed?
>
> -harendra
>
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Compiling "primitive" with ghc head

2021-11-26 Thread Sylvain Henry
Hi,

We now always use Word64# to implement Word64.


You can find the patch for primitive and many other packages in head.hackage:

https://gitlab.haskell.org/ghc/head.hackage/-/blob/master/patches/primitive-0.7.3.0.patch


Cheers,
Sylvain
⁣

Le 26 nov. 2021 à 20:35, à 20:35, Harendra Kumar  a 
écrit:
>Forgot to add subject in the previous email.
>
>On Sat, 27 Nov 2021 at 01:01, Harendra Kumar 
>wrote:
>
>> Hi GHC devs,
>>
>> While compiling the primitive package using ghc head I ran into the
>> following error:
>>
>> Data/Primitive/Types.hs:265:870: error:
>> • Couldn't match type ‘Word64#’ with ‘Word#’
>>   Expected: Word64_#
>> Actual: Word64#
>> • In the fourth argument of ‘setWord64Array#’, namely ‘x#’
>>   In the first argument of ‘internal’, namely
>> ‘(setWord64Array# arr# i n x#)’
>>   In the first argument of ‘unsafeCoerce#’, namely
>> ‘(internal (setWord64Array# arr# i n x#))’
>> |
>> 265 | derivePrim(Word64, W64#, sIZEOF_WORD64, aLIGNMENT_WORD64,
>> |
>>
>>
>>
>> Any idea what this is and how it can be fixed?
>>
>> -harendra
>>
>
>
>
>
>___
>ghc-devs mailing list
>ghc-devs@haskell.org
>http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


GitLab likes Chrome more than Firefox

2021-11-26 Thread Richard Eisenberg
Hi all,

On a tip from Ben, I'm using Chrome to review a large patch (!7033 for the 
curious). It is qualitatively better than Firefox, my usual tool. I will be 
routinely using Chrome to review large patches from now on. You may want to, 
too.

Richard
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs