Proposal: Make `NFData` a fundamental/primitive type-class (by making `deepseq` a GHC-boot package)

Conrad Parker conrad at metadecks.org
Thu Aug 25 05:15:00 CEST 2011


On 25 August 2011 05:53, Ganesh Sittampalam <ganesh at earth.li> wrote:
> On 24/08/2011 22:38, Ian Lynagh wrote:
>> On Tue, Aug 23, 2011 at 03:23:04PM +0200, Gregory Collins wrote:
>>> On Tue, Aug 23, 2011 at 1:39 PM, Herbert Valerio Riedel <hvr at gnu.org> wrote:
>>>> Proposal:
>>>> ~~~~~~~~~
>>>>
>>>> Make `NFData` a fundamental/primitive type-class
>>>> (by making `deepseq` a GHC-boot package)
>>>>
>>>> Moreover, this would pave the way for a future proposal to merge the
>>>> `deepseq` into `base` at some later point.
>>>
>>> I'm strongly in favour of this also. IIRC Ian was the one who objected
>>> most strenuously last time. What sayest thou, Ian?
>>
>> In general, my opinion is still that we should be trying to make base
>> smaller, not larger. Some stats:
>
> Are you also opposed to making deepseq a GHC-boot package? Any
> subsequent proposal to merge it into base could be countered at that
> point with an alternative proposal to move other things out of base
> instead and have them depend on deepseq.

+1

Conrad.



More information about the Libraries mailing list