Bruce == Bruce Breeanna Rennie bren...@dcsi.net.au writes:
Bruce Just a quick question are you using the real Sieve or the
Bruce pretend Sieve see http://lambda-the-ultimate.org/node/3127 for
Bruce details of this. It was interesting reading.
It is the real sieve. Thanks for the article
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
:
Slava == Slava Pestov sl...@factorcode.org writes:
Slava why not just define a word : sum-of-primes ( m n -- x )
Slava primes-between sum ; foldable
Sure, but that was just an example. It would be great to be able to
indicate that the list of primes between two numbers can be known at
compile