public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Damien Mattei <damien.mattei@gmail.com>
To: kawa mailing list <kawa@sourceware.org>
Subject: class definition
Date: Mon, 16 Oct 2023 01:21:00 +0200	[thread overview]
Message-ID: <CADEOadfdFYtbstN0o7OOFsRu3JjU3h7X=Psv3TWpkVY=qWygAQ@mail.gmail.com> (raw)

(module-name matrix)


(define-simple-class matrix ()

  (v ::vector init-keyword: v:)

  ((*init* (vParam ::vector))
   (set! v vParam))

  )

 (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?

             reply	other threads:[~2023-10-15 23:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-15 23:21 Damien Mattei [this message]
2023-10-15 23:51 ` Per Bothner
2023-10-16  6:11   ` Damien Mattei
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='CADEOadfdFYtbstN0o7OOFsRu3JjU3h7X=Psv3TWpkVY=qWygAQ@mail.gmail.com' \
    --to=damien.mattei@gmail.com \
    --cc=kawa@sourceware.org \
    /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).