|
From: | Nicholas Papadonis |
Subject: | Re: Is this expected Geiser behavior? |
Date: | Thu, 19 Mar 2020 23:47:14 -0400 |
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
appearance:
(display "foo")
=> #<unspecified>
foo
but it seems stdout is not fully implemented for MIT, and that's why you
don't see it.
cheers,
jao
--
Adding manpower to a late software project makes it later.
-Fred Brooks
[Prev in Thread] | Current Thread | [Next in Thread] |