Package take over: OneTuple

Oleg Grenrus oleg.grenrus at iki.fi
Fri Apr 13 13:14:38 UTC 2018


my Chart + diagrams usage depends on SVGFonts [1], which depend on tuple
[2] which depend on OneTuple.

So if SVGFonts could drop a dependency on `tuple`, that would solve my
usage problem too. CC:ing SVGFonts maintainers.
In fact, dropping the dependency is easy in this case:
https://github.com/diagrams/SVGFonts/pull/26

OTOH, Only's description says

NOTE: There is also the OneTuple package which by using a boxed
data-type provides a 1-tuple type which has laziness properties which
are more faithful to the ones of Haskell's native tuples; whereas the
primary purpose of Only is to provide the traditionally so named
type-wrapper for attaching typeclass instances.

So there's still some value in keeping OneTuple alive.

[1]: https://hackage.haskell.org/package/OneTuple
[2]: http://hackage.haskell.org/package/tuple

On 13.04.2018 15:38, Ivan Lazar Miljenovic wrote:
> On 13 April 2018 at 22:28, Oleg Grenrus <oleg.grenrus at iki.fi> wrote:
>> Hi all,
>>
>> I tried to contact John Dorsey who is the sole maintainer of OneTuple
>> [1], but the stated email address (haskell at colquitt.org) bounces back.
>>
>> The last version of  OneTuple was uploaded "by JohnDorsey at Tue Mar 24
>> 17:35:51 UTC 2009" - 9 years ago. OneTuple was working great so far, but
>> GHC-8.4.1 / base-4.11 introduced breaking change, which affects
>> OneTuple too: Semigroup is now a superclass of Monoid. Therefore none of
>> OneTuple versions is GHC-8.4.1/base-4.11 compatible.
>>
>> I'm a Hackage Trustee [1] and also a user of OneTuple package (though
>> not direct - it's in the transitive closure of Chart + diagrams), so I'd
>> like to see GHC-8.4 compatible OneTuple version soon.
> Would it be worth trying to consolidate similar data structures and
> have Chart + diagrams migrate to Only [1] (which is up to date)?
>
> [1]: https://hackage.haskell.org/package/Only
>
>> The required changes are very small, see
>> https://github.com/phadej/OneTuple/pull/1 or more precisely this exact
>> commit:
>> https://github.com/phadej/OneTuple/pull/1/commits/1dbc4d3186f707034953e131995c590eb50cd9af
>>
>> I'd like to become (co-)maintainer of OneTuple. I have no other plans
>> than to keep it compiling with recent versions of GHC. Maybe I'll add
>> NFData (from `deepseq`) instance though.
>>
>> Best Regards, Oleg Grenrus
>>
>>
>> [1]:  https://hackage.haskell.org/package/OneTuple
>>
>>
>>
>> _______________________________________________
>> Libraries mailing list
>> Libraries at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>>
>
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20180413/6246bd96/attachment.sig>


More information about the Libraries mailing list