why do I get the following error?

Stack effect declaration is wrong
inferred ( x x x -- x x )
declared ( amount coins -- ways )

from this lexical variable

:: cc ( amount coins -- ways )
    0 amount = [ 1 ]
    [ 0 < amount 0 coins = or [ 0 ]
      [ amount coins 1 - cc
        amount coins denominations at* drop - coins cc + ]
      if ]
      if ;

------------------------------------------------------------------------------
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to