unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* problem with drawing triangle:(Unbound-variable)
@ 2006-01-07 19:07 Huazhong Wang
  2006-01-07 19:17 ` Julian Graham
  0 siblings, 1 reply; 3+ messages in thread
From: Huazhong Wang @ 2006-01-07 19:07 UTC (permalink / raw)


Hi,

I am learning guile and scheme. I want to draw a triangle, but the 
machine always responsed me a warning. see below

guile>(define test-bb    (filled-triangle 0 1 0 -1 1 -1))
standard input:10:4: In expession (filled-triangle 0 1 ...):
standard input:10:4: Unbound variable: filled-triangle
ABORT: (Unbound-variable)
guile>

my system is debian.

-- 
Huazhong Wang

Graduate
Department of Electrical and Computer Engineering
FAMU-FSU College of Engineering
Florida State Univerity

2525 Pottsdamer Street
Tallahassee, FL 32310

Email: hwang@eng.fsu.edu
Tel: (850) 410-6408 (office)







----------------------------------------------------------------




_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem with drawing triangle:(Unbound-variable)
  2006-01-07 19:07 problem with drawing triangle:(Unbound-variable) Huazhong Wang
@ 2006-01-07 19:17 ` Julian Graham
  2006-01-07 19:38   ` R. Mattes
  0 siblings, 1 reply; 3+ messages in thread
From: Julian Graham @ 2006-01-07 19:17 UTC (permalink / raw)
  Cc: guile-user

It looks like you're trying to do some kind of graphics programming
with Guile but don't have the right libraries loaded
("filled-triangle" is not, to the best of my knowledge, part of R5RS).
 Perhaps you're missing a use-modules expression?

It would be helpful to know more about what you're trying to do here.


On 1/7/06, Huazhong Wang <hwang@eng.fsu.edu> wrote:
> Hi,
>
> I am learning guile and scheme. I want to draw a triangle, but the
> machine always responsed me a warning. see below
>
> guile>(define test-bb    (filled-triangle 0 1 0 -1 1 -1))
> standard input:10:4: In expession (filled-triangle 0 1 ...):
> standard input:10:4: Unbound variable: filled-triangle
> ABORT: (Unbound-variable)
> guile>
>
> my system is debian.
>
> --
> Huazhong Wang
>
> Graduate
> Department of Electrical and Computer Engineering
> FAMU-FSU College of Engineering
> Florida State Univerity
>
> 2525 Pottsdamer Street
> Tallahassee, FL 32310
>
> Email: hwang@eng.fsu.edu
> Tel: (850) 410-6408 (office)
>
>
>
>
>
>
>
> ----------------------------------------------------------------
>
>
>
>
> _______________________________________________
> Guile-user mailing list
> Guile-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/guile-user
>


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem with drawing triangle:(Unbound-variable)
  2006-01-07 19:17 ` Julian Graham
@ 2006-01-07 19:38   ` R. Mattes
  0 siblings, 0 replies; 3+ messages in thread
From: R. Mattes @ 2006-01-07 19:38 UTC (permalink / raw)
  Cc: guile-user

On Sat, 2006-01-07 at 14:17 -0500, Julian Graham wrote:
> It looks like you're trying to do some kind of graphics programming
> with Guile but don't have the right libraries loaded
> ("filled-triangle" is not, to the best of my knowledge, part of R5RS).
>  Perhaps you're missing a use-modules expression?
> 
> It would be helpful to know more about what you're trying to do here.

Oi veh, you'r right ;-)
"filled-triangle" is most likely the function exported by DrScheme's
fun-graph techpack. Somehow the OP's instructor failed to mention
that the exercises are DrScheme specific.

 HTH Ralf Mattes

> 
> On 1/7/06, Huazhong Wang <hwang@eng.fsu.edu> wrote:
> > Hi,
> >
> > I am learning guile and scheme. I want to draw a triangle, but the
> > machine always responsed me a warning. see below
> >
> > guile>(define test-bb    (filled-triangle 0 1 0 -1 1 -1))
> > standard input:10:4: In expession (filled-triangle 0 1 ...):
> > standard input:10:4: Unbound variable: filled-triangle
> > ABORT: (Unbound-variable)
> > guile>
> >
> > my system is debian.
> >
> > --
> > Huazhong Wang
> >
> > Graduate
> > Department of Electrical and Computer Engineering
> > FAMU-FSU College of Engineering
> > Florida State Univerity
> >
> > 2525 Pottsdamer Street
> > Tallahassee, FL 32310
> >
> > Email: hwang@eng.fsu.edu
> > Tel: (850) 410-6408 (office)
> >
> >
> >
> >
> >
> >
> >
> > ----------------------------------------------------------------
> >
> >
> >
> >
> > _______________________________________________
> > Guile-user mailing list
> > Guile-user@gnu.org
> > http://lists.gnu.org/mailman/listinfo/guile-user
> >
> 
> 
> _______________________________________________
> Guile-user mailing list
> Guile-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/guile-user



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-07 19:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-07 19:07 problem with drawing triangle:(Unbound-variable) Huazhong Wang
2006-01-07 19:17 ` Julian Graham
2006-01-07 19:38   ` R. Mattes

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).