[darcs-devel] [patch1904] use StandaloneDeriving for some Show instances

Ganesh Sittampalam bugs at darcs.net
Mon Sep 2 22:19:36 UTC 2019


Ganesh Sittampalam <ganesh at earth.li> added the comment:

updated version without DerivingStrategies, will screen this one

1 patch for repository darcs-unstable at darcs.net:screened:

patch 52c6cb79d887ae79a5bfc9046022ca8512cffa30
Author: Ganesh Sittampalam <ganesh at earth.li>
Date:   Mon Sep  2 23:19:00 BST 2019
  * use StandaloneDeriving for some Show instances
  
  This is possible in cases where all the directly included
  patches are concrete types rather than type variables.
  
  For example it works for
  
   data Foo p wX wY where
    Foo :: Named p wX wY -> Foo p wX wY
  
  but not for
  
   data Foo p wX wY where
    Foo :: p wX wY -> Foo p wX wY

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch1904>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-preview.txt
Type: text/x-darcs-patch
Size: 3882 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20190902/2de29e84/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use-standalonederiving-for-some-show-instances.dpatch
Type: application/x-darcs-patch
Size: 7607 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20190902/2de29e84/attachment-0001.bin>
-------------- next part --------------
.





More information about the darcs-devel mailing list