[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is this expected Geiser behavior?

From: Jose A. Ortega Ruiz
Subject: Re: Is this expected Geiser behavior?
Date: Fri, 20 Mar 2020 03:14:37 +0000

On Thu, Mar 19 2020, Nicholas Papadonis wrote:

> I'm running the Mit REPL and editing a file test.scm.  
> In the test.scm buffer:
> (display "test")
> C-x C-e
> Under the mode line displays:
> => #!unspecific
> C-u C-x C-e 
> (display "test") #!unspecific
> Is this expected behavior?

yes. the expression (display "test") evaluates to the value
#!unspecific.  printing to the standard output is a side effect, not the
value returned by the expression.

> In the REPL display works:
> (display "test")
> test
> ;Unspecified return value

in geiser it also "works".  the standard output should appear in a
buffer called *Geiser dbg*.  for guile for instance, it has the

   (display "foo")

   => #<unspecified>


but it seems stdout is not fully implemented for MIT, and that's why you
don't see it.

Adding manpower to a late software project makes it later.
 -Fred Brooks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]