public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Damien Mattei <damien.mattei@gmail.com>
To: Per Bothner <per@bothner.com>
Cc: kawa mailing list <kawa@sourceware.org>
Subject: Re: class definition
Date: Mon, 16 Oct 2023 08:11:57 +0200	[thread overview]
Message-ID: <CADEOadcnwZk-8HmW_Z42r7Q_475g+=4rs5WKTa1bxqEa15cCRA@mail.gmail.com> (raw)
In-Reply-To: <cf421120-09ab-46d2-baa5-26d56ae16c4c@bothner.com>

it was my --r5rs flag that was causing the problem:

(base) mattei@MacBook-Pro-Touch-Bar kawa % kawa
#|kawa:1|# (require 2d-vector)
#|kawa:2|# (require matrix)
#|kawa:3|# (exit)
(base) mattei@MacBook-Pro-Touch-Bar kawa % kawa --r6rs
#|kawa:1|# (require 2d-vector)
/Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/kawa/2d-vector.scm:2:6:
invalid argument list for slot 'x' args:null
#|kawa:2|# (exit)
(base) mattei@MacBook-Pro-Touch-Bar kawa % kawa --r7rs
#|kawa:1|# (require 2d-vector)
/Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/kawa/2d-vector.scm:2:6:
invalid argument list for slot 'x' args:null

i use it for has table compatibility, now the problem should be with
hash table,i suppose requiring the good hashtable srfi library will
solve that

On Mon, Oct 16, 2023 at 1:51 AM Per Bothner <per@bothner.com> wrote:
>
>
>
> On 10/15/23 16:21, Damien Mattei via Kawa wrote:
> >   (require matrix)
> > /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/kawa/matrix.scm:12:6:
> > invalid argument list for slot 'v' args:null
> >
> > what is wrong with that?
>
> I don't know. I couldn't reproduce it using the current git master.
>
> Note that according to the manual, init-keyword: is ignored.
> --
>         --Per Bothner
> per@bothner.com   http://per.bothner.com/

  reply	other threads:[~2023-10-16  6:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-15 23:21 Damien Mattei
2023-10-15 23:51 ` Per Bothner
2023-10-16  6:11   ` Damien Mattei [this message]
2023-10-16  6:23     ` Damien Mattei
2023-10-16  6:24       ` Damien Mattei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADEOadcnwZk-8HmW_Z42r7Q_475g+=4rs5WKTa1bxqEa15cCRA@mail.gmail.com' \
    --to=damien.mattei@gmail.com \
    --cc=kawa@sourceware.org \
    --cc=per@bothner.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).