Re: [Factor-talk] Semantic errors with specialized methods (GENERIC: and M:)

2009-02-20 Thread Samuel Tardieu
> "Ludovic" == Ludovic Kuty  writes:

Ludovic> "The word rectangle=>area must declare a stack effect". But
Ludovic> the word declares a stack effect. Thus, I don't understand
Ludovic> what goes on.

The *GENERIC* version must declare a stack effect:

  GENERIC: area ( shape -- x )

Ludovic> PS: Is it a good practice to use pastebin with the mailing
Ludovic> list or pastebin is mainly for the IRC channel ? Maybe
Ludovic> message on the mailing list have to be self contained.

For such short samples, including the information in the message makes
it easier to answer for people who answer mail offline.

  Sam
-- 
Samuel Tardieu -- s...@rfc1149.net -- http://www.rfc1149.net/


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] Semantic errors with specialized methods (GENERIC: and M:)

2009-02-20 Thread Ludovic Kuty
Hello everybody,

I made a simple code to test the GENERIC word (cfr. 
http://paste.factorcode.org/paste?id=454 
  ) but factor notifies me of 3 semantic errors ( 
http://paste.factorcode.org/paste?id=454#231 
  ) like this one "The word rectangle=>area must declare a stack  
effect". But the word declares a stack effect. Thus, I don't  
understand what goes on.

Any help would be appreciated.

TIA,

Ludovic Kuty

PS: Is it a good practice to use pastebin with the mailing list  or  
pastebin is mainly for the IRC channel ? Maybe message on the mailing  
list have to be self contained.


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk