Scheme attempt gives 'unknown escape string' error - any hints appreciated

2012-01-15 Thread David Nalesnik
Hi Morten, On Sun, Jan 15, 2012 at 5:27 AM, Morten Jagd Christensen wrote: > > here is a working lisp function > > (defun mylist (l1 l2 n1) >(cond ((null l1) l2) > ( t (mylist (cdr l1) > (append l2 (list (append '(place-fret) (car l1) > (list (1+ (mod (list-l

Scheme attempt gives 'unknown escape string' error - any hints appreciated

2012-01-15 Thread Morten Jagd Christensen
Hi all Im writing a small sceme function to be able to create examples of guitar fingerings for various scales. basically i create a music function "fretsc" to be called for example as \fretsc "(6 1) (6 3) (5 0)"to indicate the position and sequence of notes in a scale. However I get a

Re: Scheme attempt gives 'unknown escape string' error - any hints appreciated

2012-01-14 Thread David Nalesnik
Hi Morten, On Sat, Jan 14, 2012 at 11:42 AM, Morten Jagd Christensen < morte...@jcaps.com> wrote: > Hi all > > Im writing a small sceme function to be able to create examples of guitar > fingerings > for various scales. > > basically i create a music function "fretsc" to be called for example as

Re: Scheme attempt gives 'unknown escape string' error - any hints appreciated

2012-01-14 Thread David Kastrup
Morten Jagd Christensen writes: > However I get an "unknown escape string" for \fret while compiling. > > Anyone have an idea what Im doing wrong? How about reading the error messages? > Here is the example code if you comment out the last line you can see > the kind of fret diagram I am > work

Scheme attempt gives 'unknown escape string' error - any hints appreciated

2012-01-14 Thread Morten Jagd Christensen
Hi all Im writing a small sceme function to be able to create examples of guitar fingerings for various scales. basically i create a music function "fretsc" to be called for example as \fretsc "(6 1) (6 3) (5 0)"to indicate the position and sequence of notes in a scale. However I get a