Quick code style question: Wild card binders

Joachim Breitner mail at joachim-breitner.de
Tue Jan 14 08:57:30 UTC 2014


Hi,

both work, so it is a matter of style, and I’m not sure which one is
better style: If I generate a Case where the case binder is not used,
should I 
 * use the wildcard binder (mkWildCase), to be explicit about the fact 
   fact that the wildcard binder is unused, or should I
 * generate a new Unique and a new Id nevertheless, because wildCard is 
   bad?

Thanks,
Joachim

-- 
Joachim “nomeata” Breitner
  mail at joachim-breitner.dehttp://www.joachim-breitner.de/
  Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0x4743206C
  Debian Developer: nomeata at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140114/8ac04890/attachment.sig>


More information about the ghc-devs mailing list