[clean-list] Functions that look the same

smithll smithll@cpsc.ucalgary.ca
Wed, 18 Jul 2001 22:08:02 -0600 (MDT)


Hi all, 
I have a question about why these two expressions give different
results? 

reduce:: (Real -> Real)
reduce = \x->x/10.0

Start = until ((==)0.0 o \x->x/10.0) reduce 1.0 
will evaluate to 0
while 
Start = until ((==)0.0 o reduce) (reduce) 1.0 
will evaluate to  0e-324

This was done on win98 using Clean 1.3.3

TIA
Lloyd Smith