I find it frustrating that "foldable" cannot be used when the word you
want to apply it to returns a mutable sequence, even if I understand
why.

What could we do to allow compile-time evaluation of words returning
sequences for example? It would be nice to have words such as

  : sum-of-small-primes ( -- n ) 2 10 primes-between sum ;

compute their content as compile time.

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


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

Reply via email to