From: Han-Wen Nienhuys <hanwen@xs4all.nl>
Cc: guile-devel@gnu.org
Subject: Re: typechecking
Date: Tue, 11 May 2004 00:57:35 +0200 [thread overview]
Message-ID: <16544.2271.454230.492574@localhost.localdomain> (raw)
In-Reply-To: <87brkwc6f7.fsf@zagadka.ping.de>
mvo@zagadka.de writes:
>
> in eval.c might be hard to fix, tho.
>
> > Also, I think that DEBUG_TYPING_STRICTNESS==0 should go too. The code
> > contained a thinko (leading to loads of compile errors). This
> > suggests that the code has never been tested since its inception a few
> > years ago.
>
> Can you elaborate? Guile itself compiles fine with STRICTNESS==0.
> Indeed, this strictness level offers no type checking.
1.6.4 has
# define SCM_PACK(x) ((scm_t_bits) (x))
I believe this should be
#define SCM_PACK(x) ((SCM) (x))
if anything.
> When I say "type checking" what really mean is that the compiler
> checks whether the user only uses SCM values in the way we want it to,
> like, no direct arithmetic, no direct use in conditional tests, only
What's the rationale for not allowing direct use in conditional tests?
--
Han-Wen Nienhuys | hanwen@xs4all.nl | http://www.xs4all.nl/~hanwen
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
next prev parent reply other threads:[~2004-05-10 22:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-28 13:04 typechecking Han-Wen Nienhuys
2004-05-10 21:34 ` typechecking Marius Vollmer
2004-05-10 21:47 ` typechecking Dale P. Smith
2004-06-10 16:16 ` typechecking Marius Vollmer
2004-05-10 22:57 ` Han-Wen Nienhuys [this message]
2004-05-15 9:16 ` typechecking Dirk Herrmann
2004-05-16 15:11 ` typechecking Han-Wen Nienhuys
2004-05-17 18:31 ` typechecking Marius Vollmer
2004-05-26 17:40 ` typechecking Han-Wen Nienhuys
2004-05-30 8:40 ` typechecking Dirk Herrmann
2004-05-30 8:28 ` typechecking Han-Wen Nienhuys
2004-05-31 7:05 ` typechecking Dirk Herrmann
2004-06-10 16:22 ` typechecking Marius Vollmer
2004-05-30 14:00 ` typechecking Andy Wingo
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
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16544.2271.454230.492574@localhost.localdomain \
--to=hanwen@xs4all.nl \
--cc=guile-devel@gnu.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).