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

[REBOL] Re: hash code for object ?

From: tim-johnsons:web at: 6-Jun-2007 8:43

On Wednesday 06 June 2007, Tim Johnson wrote:
> ;; which is easily implemented in a function such as: > mate: def["Finds an odd-numbered value in a series" > " and returns the value after it (the 'mate')" > [catch] b[series!] v[any-type!]][ > res: select/skip b v 2 > either block? res[first res][res] > ] > ;; Note my use of 'def and the multiple docstring :-)
Oh, and one other thing, 'mate has not been tested on a 'hash type.