Re: defining operators with a result





On Nov 12, 10:02 pm, "Nameless" <news.m...@xxxxxxxxx> wrote:

...Try http://home.chello.no/~dudley/index.html#section5 where
you'll find "SQUARE_GEN.PL".

In fact, I'm more interested into how extend Prolog syntax with my own
syntactic sugar than squaring series of numbers. I am looking something
similar to arithmetic_function/1 (with the difference that I want
[m..n] be evaluated as [m, m+1, ..., n] anywhere, not only as an
argument to is/2).

Thanks anyway for your answer.

-- Richard

.