From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by sourceware.org (Postfix) with ESMTPS id 90E9D3858D38 for ; Mon, 16 Oct 2023 06:23:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 90E9D3858D38 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 90E9D3858D38 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::635 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697437405; cv=none; b=buHoJLSpPrYL4U75Z5DH+YC9ESQa4IDUgcWzfM+niJXn+ISUVf3UUC9Qw9GGdAMylrTXoM9nn5nWk6PrkP0EahAFwnX/ouigW/uY3qUm++X6ms9ae5pg6Y7Slix586LrIZOrtxtiucRzJ0AOTSgSV/EcQBqJH7IDdJsbopcX1gQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697437405; c=relaxed/simple; bh=jvQNRvkGyjeQyep5mDSpB2cu88Vc/X0T3hvUxtAwZxQ=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=Mt2ZvMKNUshFN1i0EFZGT7yZgOIdPkuqR23rJkn1cp3ozbj1hWRs7DWet8Do2T6vu6wzDfoH1bFrMa9p012epwKxxKtH1PZw+af+RkW0fAPFC130kWLhm3zlEZmmX2YGLDjchP4LpAX76LNr7FCOqR9r7hIWZoEUp5MMesfh2os= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-9ad8a822508so658643566b.0 for ; Sun, 15 Oct 2023 23:23:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697437402; x=1698042202; darn=sourceware.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=D82zKXKlji86uspPUag+73zAgIgNaDgnS9FMERncTfw=; b=bZPmMU1t8CrEHmygUbV7hRWSHt1oYs/jQWNNqHzFmeOKD9oCvfwU/0lYTgkGxrmcXA Szl3WWEVquBz6sqKZTMKtMirJE+4QwmohH7YnFBLWa3kpVgBpAXDXNomDZrzcXFyE8Gc 9N3jzBrkABP7e5UZ7ZclesE/P679O04OpEKogtOCC5LJjpIH2Z7gnL1xZGV8fcmoc1xT l+9NCesCIalUWvPB7PBirfhVP66teeNqiOa4L+G7hLI58TVNtEjY6tVsQVku95znICzh 6s8AUeVfOEP252tpRiZmDWQH/HtPiVxL51Ij0XMydi/6AiAL4uxiqHUwkNnRgSecDHBp 9nkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697437402; x=1698042202; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D82zKXKlji86uspPUag+73zAgIgNaDgnS9FMERncTfw=; b=orYztaW07rkQso/3uLsp5vEM5jGV0aNf12Q2P/NdGy8ZtuoQsY8oBQsw6D5YYennmN lvmkkVgCErORliu1FFyTnM8drsfhBJvRqOMIS3Z4FZq69S9lm2plgTRkTsXRr04Z/suJ Jd4yTlvCXe8Ll6X2NP1rs5r8GKKO4tmAkeT73/5dvVP23oICvNOZ+5hhAZjX5KzpLhAs Gow1E1lMvYPlQKlB3v3/2q6xTd6P9kSQE2oYj+ZSIV7LlJ7XPAw2SwWjQrdS2lkAhoDR Rtxsz+TQsw2fUX52F2tV9MyBDz5lMYpSN6DKPdZzkKEoHaXKZNy6bTbKkyzjw8xVfcNV 4hSw== X-Gm-Message-State: AOJu0YzaoJYbH9OMF0dSBJcdnk4U/sKbse8vJ5+DC6v79hy0E3f4Dqj1 yJWYpHfMykSAJ5hlRSauv2FDw+wX+L8MK0IABDDCgFZmjm4= X-Google-Smtp-Source: AGHT+IHacNQqNgPJCd20Pee5VkKqSZ8QOoVEjA7J95hXi6sTocPwBZJ9QCNlc+lYn6aSA40zfT1K8OiM9K+vNBM2BJc= X-Received: by 2002:a17:907:6ea7:b0:9bd:ce25:c7e8 with SMTP id sh39-20020a1709076ea700b009bdce25c7e8mr8502242ejc.42.1697437402062; Sun, 15 Oct 2023 23:23:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Damien Mattei Date: Mon, 16 Oct 2023 08:23:11 +0200 Message-ID: Subject: Re: class definition To: Per Bothner Cc: kawa mailing list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: effectively there was no more need of --r5rs flag: (require 'srfi-1) ; any,every (require 'srfi-69) ;; hash table ;; try include , use include-relative if problems (include "../Scheme-PLUS-for-Kawa/rec.scm") ; rec does not exist in Kawa (no SRFI 31) (include "../Scheme-PLUS-for-Kawa/def.scm") (include "../Scheme-PLUS-for-Kawa/set-values-plus.scm") (include "../Scheme-PLUS-for-Kawa/for_next_step.scm") (include "../Scheme-PLUS-for-Kawa/declare.scm") (include "../Scheme-PLUS-for-Kawa/condx.scm") (include "../Scheme-PLUS-for-Kawa/block.scm") (include "../Scheme-PLUS-for-Kawa/not-equal.scm") (include "../Scheme-PLUS-for-Kawa/exponential.scm") (include "../Scheme-PLUS-for-Kawa/while-do-when-unless.scm") (include "../Scheme-PLUS-for-Kawa/repeat-until.scm") (include "../Scheme-PLUS-for-Kawa/modulo.scm") (include "../Scheme-PLUS-for-Kawa/bitwise.scm") (include "../Scheme-PLUS-for-Kawa/slice.scm") (include "../Scheme-PLUS-for-Kawa/scheme-infix.scm") (include "../Scheme-PLUS-for-Kawa/assignment.scm") (include "../Scheme-PLUS-for-Kawa/apply-square-brackets.scm") (include "../Scheme-PLUS-for-Kawa/array.scm") (base) mattei@MacBook-Pro-Touch-Bar AI_Deep_Learning % kawa -Dkawa.import.path=3D".:/Users/mattei/Dropbox/git/Scheme-PLUS-for-Kawa" #|kawa:1|# (load "exo_retropropagationNhidden_layers_matrix_v2_by_vectors4kawa+.scm") /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:640:7: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:669:7: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:675:7: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:818:8: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:824:8: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:318:13: warning - no declaration seen for parse-square-brackets-arguments /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:403:43: warning - no declaration seen for bracket-apply /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:407:43: warning - no declaration seen for bracket-apply /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:466:24: warning - no declaration seen for find-setter-for-overloaded-square-brackets /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:546:5: warning - no declaration seen for function-array-n-dim-set! /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:553:21: warning - no declaration seen for find-setter-for-overloaded-square-brackets /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:709:9: warning - no declaration seen for function-array-n-dim-set! /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:784:44: warning - no declaration seen for bracket-apply /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:788:44: warning - no declaration seen for bracket-apply /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:837:9: warning - no declaration seen for function-array-n-dim-set! /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:927:9: warning - no declaration seen for function-array-n-dim-set! /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/assignment.scm:946:8: warning - no declaration seen for function-array-n-dim-set! /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:332:7: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:337:7: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:404:20: warning - type gnu.lists.AbstractSequence is incompatible with required type abstract-string /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:407:7: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:409:20: warning - type gnu.lists.AbstractSequence is incompatible with required type abstract-string /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:412:7: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:500:7: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:506:7: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:547:7: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:554:7: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:609:20: warning - type gnu.lists.AbstractSequence is incompatible with required type abstract-string /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:612:7: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:615:20: warning - type gnu.lists.AbstractSequence is incompatible with required type abstract-string /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:618:7: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:657:20: warning - type gnu.lists.AbstractSequence is incompatible with required type abstract-string /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:660:7: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:664:20: warning - type gnu.lists.AbstractSequence is incompatible with required type abstract-string /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:667:7: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:756:5: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm:763:5: warning - void-valued expression where value is needed /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/apply-square-brackets.scm: note - skipped 0 errors, 13 warnings, 0 notes /Users/mattei/Library/CloudStorage/Dropbox/git/AI_Deep_Learning/../Scheme-P= LUS-for-Kawa/array.scm:69:6: warning - void-valued expression where value is needed those are only warnings and not errors. On Mon, Oct 16, 2023 at 8:11=E2=80=AFAM Damien Mattei wrote: > > 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-v= ector.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-v= ector.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=E2=80=AFAM Per Bothner wro= te: > > > > > > > > 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/