Show
Ignore:
Timestamp:
06/22/07 20:53:35 (17 months ago)
Author:
krobillard
Message:

Added ur_seriesMem() & fold helper.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/thune/thread_safe/boot.c

    r414 r417  
    9292  "]\n" 
    9393  "'loop func :each.set       ; (ser words body -- )\n" 
    94   "[ser comb]\n" 
    95   "[\n" 
     94  "[ser accu op] [\n" 
     95  "  ser [first accu op do :accu] iter\n" 
     96  "  accu\n" 
     97  "] 'loop func :fold      ;(ser accu op -- accu)\n" 
     98  "[ser comb] [\n" 
    9699  "  ser [dup first comb do 1 poke drop] iter\n" 
    97   "] 'loop func :map     ;(ser comb -- )\n" 
     100  "] 'loop func :map       ;(ser comb -- )\n" 
    98101  "[ser old new | len] [\n" 
    99102  "    old length? :len\n"