[commit: base] master: Change rules for RealFrac methods to pointfree, so that they can also fire in pointfree use. (4036a1a)

Simon Peyton-Jones simonpj at microsoft.com
Wed Feb 27 15:45:35 CET 2013


|      Change rules for RealFrac methods to pointfree, so that they can also fire in
|  pointfree use.	

Good, thanks .  But could you add a
	Note [Write rules in point-free style
	~~~~~~~~~~~~~~~~~~~~~~
to explain what the motivating reason for the change is.  Also an example or two.  Perhaps there is a ticket that motivates it?

Maybe refer to the Note from all the places where it is important?

Simon

|  -----Original Message-----
|  From: ghc-commits-bounces at haskell.org [mailto:ghc-commits-
|  bounces at haskell.org] On Behalf Of Daniel Fischer
|  Sent: 27 February 2013 13:58
|  To: ghc-commits at haskell.org
|  Subject: [commit: base] master: Change rules for RealFrac methods to pointfree,
|  so that they can also fire in pointfree use. (4036a1a)
|  
|  Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
|  
|  On branch  : master
|  
|  http://hackage.haskell.org/trac/ghc/changeset/4036a1ae7a9694c9c69749ec8e36
|  143c31bce976
|  
|  >---------------------------------------------------------------
|  
|  commit 4036a1ae7a9694c9c69749ec8e36143c31bce976
|  Author: Daniel Fischer <daniel.is.fischer at googlemail.com>
|  Date:   Wed Feb 13 16:10:12 2013 +0100
|  
|      Change rules for RealFrac methods to pointfree, so that they can also fire in
|  pointfree use.	
|  
|   GHC/Int.hs  |   96 +++++++++++++++++++++++++++++------------------
|  -----------
|   GHC/Word.hs |   72 ++++++++++++++++++++++----------------------
|   2 files changed, 84 insertions(+), 84 deletions(-)
|  
|  
|  Diff suppressed because of size. To see it, use:
|  
|      git show 4036a1ae7a9694c9c69749ec8e36143c31bce976
|  
|  _______________________________________________
|  ghc-commits mailing list
|  ghc-commits at haskell.org
|  http://www.haskell.org/mailman/listinfo/ghc-commits



More information about the ghc-commits mailing list