From: Linas Vepstas <linasvepstas@gmail.com>
To: user8472 <head_over_heels@freenet.de>
Cc: Guile-user@gnu.org
Subject: Re: Strange behavior with delayed objects
Date: Wed, 5 May 2010 09:53:57 -0500 [thread overview]
Message-ID: <o2w3ae3aa421005050753h77c88617qbfdcc14063c97045@mail.gmail.com> (raw)
In-Reply-To: <28450337.post@talk.nabble.com>
On 4 May 2010 11:59, user8472 <head_over_heels@freenet.de> wrote:
>
> becomes
> streams.scm:601:14: While evaluating arguments to stream-map in expression
> (stream-map f y):
> streams.scm:601:14: Variable used before given a value: y
> ABORT: (unbound-variable)
>
> So something is still not quite right.
My bad, I completely failed to notice that delayed evaluation
was a part of the problem. Can you simplify the example to
its barest elements that still provoke the error? Hopefully,
this will provide a clue to what the true as to what the
problem is. (Not having seen the definition of "integral",
I'm wondering whether some failure to initialize y to y0
might have something to do with it ... some missing force
somewhere ... but that's a wild and probably wrong guess).
--linas
next prev parent reply other threads:[~2010-05-05 14:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-04 6:32 Strange behavior with delayed objects user8472
2010-05-04 15:21 ` Linas Vepstas
2010-05-04 16:59 ` user8472
2010-05-05 14:53 ` Linas Vepstas [this message]
2010-05-07 8:09 ` user8472
2010-05-10 16:26 ` Linas Vepstas
2010-05-10 16:28 ` Linas Vepstas
2010-05-10 21:36 ` user8472
2010-05-10 22:08 ` Linas Vepstas
2010-05-21 10:52 ` Andy Wingo
2010-05-14 21:53 ` user8472
2010-05-21 10:59 ` 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=o2w3ae3aa421005050753h77c88617qbfdcc14063c97045@mail.gmail.com \
--to=linasvepstas@gmail.com \
--cc=Guile-user@gnu.org \
--cc=head_over_heels@freenet.de \
/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).