Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Ma Bell is a mean mother!


devel / comp.lang.scheme / How to use srfi-105 with chicken scheme ?

SubjectAuthor
* How to use srfi-105 with chicken scheme ?Alain De Vos
`* Re: How to use srfi-105 with chicken scheme ?Alain De Vos
 `* Re: How to use srfi-105 with chicken scheme ?Alain De Vos
  `- Re: How to use srfi-105 with chicken scheme ?Vasilij Schneidermann

1
How to use srfi-105 with chicken scheme ?

<075feac1-7d41-45d0-8c75-664c8d844ba1n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=93&group=comp.lang.scheme#93

  copy link   Newsgroups: comp.lang.scheme
X-Received: by 2002:ac8:7f86:: with SMTP id z6mr9642896qtj.162.1636651826054;
Thu, 11 Nov 2021 09:30:26 -0800 (PST)
X-Received: by 2002:a25:e6c5:: with SMTP id d188mr9580867ybh.217.1636651825856;
Thu, 11 Nov 2021 09:30:25 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.scheme
Date: Thu, 11 Nov 2021 09:30:25 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=81.244.27.203; posting-account=kTRirAoAAACnF_wtAOSamxYBSVvmJuCa
NNTP-Posting-Host: 81.244.27.203
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <075feac1-7d41-45d0-8c75-664c8d844ba1n@googlegroups.com>
Subject: How to use srfi-105 with chicken scheme ?
From: devosalain71@gmail.com (Alain De Vos)
Injection-Date: Thu, 11 Nov 2021 17:30:26 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1104
 by: Alain De Vos - Thu, 11 Nov 2021 17:30 UTC

When i try :

(display {1+1})

it does not compile with csc5

https://srfi.schemers.org/srfi-105/srfi-105-1.2.html

Re: How to use srfi-105 with chicken scheme ?

<7f04fe1e-2cc2-4ee2-8f5e-af25fa3ad4e9n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=94&group=comp.lang.scheme#94

  copy link   Newsgroups: comp.lang.scheme
X-Received: by 2002:ac8:7f86:: with SMTP id z6mr9843430qtj.162.1636653509986;
Thu, 11 Nov 2021 09:58:29 -0800 (PST)
X-Received: by 2002:a25:b213:: with SMTP id i19mr9407886ybj.393.1636653509790;
Thu, 11 Nov 2021 09:58:29 -0800 (PST)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.scheme
Date: Thu, 11 Nov 2021 09:58:29 -0800 (PST)
In-Reply-To: <075feac1-7d41-45d0-8c75-664c8d844ba1n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=81.244.27.203; posting-account=kTRirAoAAACnF_wtAOSamxYBSVvmJuCa
NNTP-Posting-Host: 81.244.27.203
References: <075feac1-7d41-45d0-8c75-664c8d844ba1n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7f04fe1e-2cc2-4ee2-8f5e-af25fa3ad4e9n@googlegroups.com>
Subject: Re: How to use srfi-105 with chicken scheme ?
From: devosalain71@gmail.com (Alain De Vos)
Injection-Date: Thu, 11 Nov 2021 17:58:29 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1218
 by: Alain De Vos - Thu, 11 Nov 2021 17:58 UTC

I have run as root :
# chicken-install5 srfi-105
Maybe i still have to do something else ?

Re: How to use srfi-105 with chicken scheme ?

<a1dcd42a-c68f-4e3d-8c9c-d6db57d19f33n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=95&group=comp.lang.scheme#95

  copy link   Newsgroups: comp.lang.scheme
X-Received: by 2002:ac8:7d0f:: with SMTP id g15mr9767236qtb.60.1636653994672;
Thu, 11 Nov 2021 10:06:34 -0800 (PST)
X-Received: by 2002:a25:afcf:: with SMTP id d15mr9062264ybj.433.1636653994513;
Thu, 11 Nov 2021 10:06:34 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.scheme
Date: Thu, 11 Nov 2021 10:06:34 -0800 (PST)
In-Reply-To: <7f04fe1e-2cc2-4ee2-8f5e-af25fa3ad4e9n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=81.244.27.203; posting-account=kTRirAoAAACnF_wtAOSamxYBSVvmJuCa
NNTP-Posting-Host: 81.244.27.203
References: <075feac1-7d41-45d0-8c75-664c8d844ba1n@googlegroups.com> <7f04fe1e-2cc2-4ee2-8f5e-af25fa3ad4e9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a1dcd42a-c68f-4e3d-8c9c-d6db57d19f33n@googlegroups.com>
Subject: Re: How to use srfi-105 with chicken scheme ?
From: devosalain71@gmail.com (Alain De Vos)
Injection-Date: Thu, 11 Nov 2021 18:06:34 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Alain De Vos - Thu, 11 Nov 2021 18:06 UTC

(import srfi-105)
(display { 1 + 1 } )

returns,
Warning: literal in operator position: (1 + 1)
Warning: Invalid procedure
At the toplevel,
In procedure call:
(1 scheme#+ 1)
The procedure expression does not appear to be a callable.
This is the expression:
1
The expected type is:
(* * -> *)
The actual type is:
fixnum
Error: call of non-procedure: 1
Call history:
test01.scm:1: chicken.load#load-extension
srfi-105.scm:2: chicken.load#load-extension

Re: How to use srfi-105 with chicken scheme ?

<64fd28dd-0723-43b6-bcf7-79b17351b0adn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=111&group=comp.lang.scheme#111

  copy link   Newsgroups: comp.lang.scheme
X-Received: by 2002:a05:622a:1820:: with SMTP id t32mr32541746qtc.498.1639215629914;
Sat, 11 Dec 2021 01:40:29 -0800 (PST)
X-Received: by 2002:a25:8205:: with SMTP id q5mr20774303ybk.256.1639215629662;
Sat, 11 Dec 2021 01:40:29 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.scheme
Date: Sat, 11 Dec 2021 01:40:29 -0800 (PST)
In-Reply-To: <a1dcd42a-c68f-4e3d-8c9c-d6db57d19f33n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=78.48.184.108; posting-account=JgLMAQoAAADhMJlD3pTMpgqfDD3O4i0h
NNTP-Posting-Host: 78.48.184.108
References: <075feac1-7d41-45d0-8c75-664c8d844ba1n@googlegroups.com>
<7f04fe1e-2cc2-4ee2-8f5e-af25fa3ad4e9n@googlegroups.com> <a1dcd42a-c68f-4e3d-8c9c-d6db57d19f33n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <64fd28dd-0723-43b6-bcf7-79b17351b0adn@googlegroups.com>
Subject: Re: How to use srfi-105 with chicken scheme ?
From: v.schneidermann@gmail.com (Vasilij Schneidermann)
Injection-Date: Sat, 11 Dec 2021 09:40:29 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 23
 by: Vasilij Schneiderman - Sat, 11 Dec 2021 09:40 UTC

> (import srfi-105)
> (display { 1 + 1 } )
>
> returns,
> Warning: literal in operator position: (1 + 1)
> Warning: Invalid procedure
> At the toplevel,
> In procedure call:
> (1 scheme#+ 1)
> The procedure expression does not appear to be a callable.
> This is the expression:
> 1
> The expected type is:
> (* * -> *)
> The actual type is:
> fixnum
> Error: call of non-procedure: 1
> Call history:
> test01.scm:1: chicken.load#load-extension
> srfi-105.scm:2: chicken.load#load-extension

SRFI-105 defines a reader extension. To use one in compiled code, you need to load the code providing it before compilation. In this case, with `csc5 -X srfi-105 test01.scm`.

Feel free to ask questions specific to CHICKEN Scheme on our IRC channel (#chicken on libera.chat) or mailing list (chicken-users@nongnu.org).

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor