[Top][All Lists]

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

Re: [Geiser-users] iterative process not finishing

From: Diogo F. S. Ramos
Subject: Re: [Geiser-users] iterative process not finishing
Date: Sat, 13 Apr 2013 12:36:30 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Aleix Conchillo Flaqué <address@hidden> writes:

> While writing this:
> I just found that the iterative process doesn't always end in geiser
> if I use big numbers:
> (o+ 10 10000000)
> I can just press enter right away and the prompt appears again.
> scheme@(guile-user)> (o+ 10 10000000)
> scheme@(guile-user)>
> This works find using the repl in a terminal.
> Any ideas?

I've seen this before, but I was never able to reproduce it reliably.

I've run your program in Racket but I couldn't reproduce it.  Here it's:

#lang racket

(define o+
  (lambda (n m)
      ((zero? m) n)
      (else (o+ (add1 n) (sub1 m))))))

And at the REPL:

address@hidden> (o+ 10 10000000)

reply via email to

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