Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Updates to hof script

From: reffy:ulrich at: 16-Nov-2002 8:28

Hi Jan, Accordingly, the following application is legal: map-2 :+ [1 2 3] [1 1 1] == [2 3 4] Now, if you look again at the original definition:
> Mapping two series via binary function: > ((a -+ b -+ c) -+ [a] -+ [b] -+ [c])
How would you note that the result of (adding two decimals) yields a decimal unless, the operation overflows, and the result is coerced to a float instead of a decimal? Dick