[erlang-questions] eep-0012 (Extensions to comprehensions)

Richard A. O'Keefe <>
Thu Aug 7 07:19:41 CEST 2008


On 7 Aug 2008, at 2:14 pm, Kevin Scaldeferri wrote:
> There's also the desire to have diffs only display important  
> changes, not insignificant things like the addition or removal of a  
> line terminator/separator.  Is this worth changing the language  
> for?  Eh, probably not.  But if you were designing from scratch,  
> it's one of those nice little things.

Suppose you have
	   X
	]
and you change this to
	   X,
	   Y
	]
The *number* of diffs does not change, there is only an extra line in  
the diff.
I actually find it useful that this extra line appears, because it  
gives me a
wee bit of context: Y didn't just appear somewhere, it appeared after X.

The converse change has the same property: the *number* of diffs  
doesn't change,
it's just that one extra line appears, and I find that extra line  
helpful.

YMMV.







More information about the erlang-questions mailing list