Hi!

Looking at

    "Simply Scheme: Introducing Computer Science"
    By Brian Harvey and Matthew Wright
    <https://people.eecs.berkeley.edu/~bh/ss-toc2.html>

as mentioned on IRC, I found that the accompanying "simply.scm"
<https://people.eecs.berkeley.edu/~bh/downloads/simply/simply.scm> does
not play nicely with Guile 3.  Notably using the overloaded `+' in
combination with `butfirst' does not work as is.

Using the attached "simply.scm" (also available as
<https://lilypond.org/janneke/simply-scheme/simply.scm>) now this

--8<---------------cut here---------------start------------->8---
guile --no-auto-compile -l simply.scm
scheme@(guile-user)> (+ 3 (butfirst 1075))
$1 = 78
--8<---------------cut here---------------end--------------->8---

also works with Guile \o/.

Greetings,
Janneke

Attachment: simply.scm
Description: Binary data

-- 
Janneke Nieuwenhuizen <jann...@gnu.org>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | AvatarĀ® https://AvatarAcademy.com

Reply via email to