Hello list.

Sometimes I get an error that a stack effect declaration is wrong, and
then can't figure out why.

-----------------------------------
The word historical-prices-from-year cannot be executed because it
failed to compile

Stack effect declaration is wrong
inferred ( x x x x -- x )
declared ( symbol year -- csv )
-----------------------------------

If I put "BPT" and "2009" on the stack, then run
"historical-prices-from-year", in the listener, I get the above error.

If I put "BPT" and "2009" on the stack, then paste the code for
"historical-prices-from-year", in the listener, it works.

What am I missing?

Cheers,
mrw

Attachment: dax.factor
Description: Binary data

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to