On Fri, Feb 06, 2004 at 10:14:07AM +0000, Angus Leeming wrote: > Andre Poenitz wrote: > >> expression = > >> f_str_p(var(self.field_name)) >> > >> str_p("NNODES") >> > >> > >> uint_p[resize(var(field), arg1)] >> > >> > >> for_p(var(index) = 1, > >> var(index) <= size(var(field)), > >> var(index)++) > >> [ > >> limit_d(cref(index), cref(index))[uint_p] > >> >> real_p[var(field)[var(index)-1] = arg1] > >> ]; > > > > Looks quite impressive. > > More importantly, I hope that it looks understandable once you've > become just a little familiar with the spirit and phoenix syntax.
I think I can read it. And in contrast to the 'usual' solutuins its' not cluttered with '::', '<...>' and 'bind' all over the place. Andre'