Ah-ha!

On Sat, 17 Apr 2010 20:21 -0600, "Matt Gushee" <m...@gushee.net> wrote:

> ( scratchpad ) <form> "my-form" set
> ( scratchpad ) "my-form" get
> 
> --- Data stack:
> T{ form f ~vector~ ~hashtable~ f }
> ( scratchpad ) "my-form" [ "Jim Bob" "who" set-value ] with-form
> 
> Here I get an error saying 
> 
>   Generic word values>> does not define a method for the POSTPONE: f
>   class.
> 
> ... which I guess means that the form is not actually getting bound to
> the form variable in the scope of with-form. Can anyone tell me what I'm
> doing wrong?

Apparently this works if I use a nested form--though I don't understand
why. Nor do I understand if this is *the* way to do it, or just *a* way.
The docs could really stand to be a bit clearer.

-- 
Matt Gushee
m...@gushee.net

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to