Re: defining operators with a result
- From: "Richard Szopa" <ryszard.szopa@xxxxxxxxx>
- Date: 12 Nov 2006 13:19:47 -0800
On Nov 12, 10:02 pm, "Nameless" <news.m...@xxxxxxxxx> wrote:
...Try http://home.chello.no/~dudley/index.html#section5 whereyou'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
.
- Follow-Ups:
- Re: defining operators with a result
- From: glennlieding
- Re: defining operators with a result
- From: Jan Wielemaker
- Re: defining operators with a result
- References:
- defining operators with a result
- From: Richard Szopa
- Re: defining operators with a result
- From: Nameless
- defining operators with a result
- Prev by Date: Re: defining operators with a result
- Next by Date: Re: defining operators with a result
- Previous by thread: Re: defining operators with a result
- Next by thread: Re: defining operators with a result
- Index(es):