Thanks for this, I see there is also scm_is_true to take care of the
possibility that SCM_BOOL_T might not be a scalar type, we should be
using that too.
Richard
On Wed, 2011-08-24 at 12:01 -0400, guile-user-requ...@gnu.org wrote:
>
> Richard Shann writes:
>
> > I didn't find the SCM_UNBNDP()
Hi,
I think it is a question of philosophy. The suggested [] syntax
contains the scent of both infix notation (would [7 '* 6] work?) and
work on arrays in stead of lists (also in the case of object member
reference; the most straight forward implementation would be having a
memory offset assigned t
Hello,
>>> Otherwise you could make a wrapper around the array in the form of a
>>> closure. In that case, your example could be written
>>> (*=! (a i j) 2)
>
> You could even write macros for this. I would actually find it more
> elegant than additional syntax.
The *=! operator could be easily
Hi,
Panicz Maciej Godek skribis:
>> Hi Maciej,
>> I've been thinking among the same lines. At the same time this syntax could
>> be used to access members of a 'struct' or 'class' object. It should be
>> relatively simple to write a small interpreter (or maybe a pre-compiler).
>
> I thought that