[Openmcl-devel] Practical Common Lisp tutorial: y-or-n-p problem
derrick at bigspace-project.com
Sun Aug 7 07:28:06 UTC 2005
Hello. I have been learning Lisp for about two weeks.
Forgive me if my question is foolish or misstated. I
am going through the online book at
and am working on the initial tutorial section. The
example code asks me to use (y-or-n-p "Prompt: ") to get
a yes or no anwer (code from Chapter 3), but when I run
the code through Slime/Emacs or the standalone OpenMCL
interpreter, y [return] has the effect of hitting the
return button twice, with a ^G being thrown in for good
Best I can figure is maybe there's a CR/LR translation
issue, but I don't yet know enough to poke around and
find out/make sure.
I'm running Ubuntu Linux on a G3 IMac, using v.0.14.3 of
the OpenMCL source, compiled per the directions on your
website after updating via CVS. Thank you for your time.
I figure this isn't a huge issue - this doesn't seem
like the kind of function I'd be using frequently in my
own code, but it still *might* be a bug :)
More information about the Openmcl-devel