Package take over: OneTuple

Oleg Grenrus oleg.grenrus at
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:

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.


On 13.04.2018 15:38, Ivan Lazar Miljenovic wrote:
> On 13 April 2018 at 22:28, Oleg Grenrus <oleg.grenrus at> wrote:
>> Hi all,
>> I tried to contact John Dorsey who is the sole maintainer of OneTuple
>> [1], but the stated email address (haskell at 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]:
>> The required changes are very small, see
>> or more precisely this exact
>> commit:
>> 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]:
>> _______________________________________________
>> Libraries mailing list
>> Libraries at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Libraries mailing list