Re: gEDA-user: gnetlist/Scheme tutorial

2009-07-21 Thread John Doty
On Jul 21, 2009, at 2:10 PM, Peter TB Brett wrote: > On Tuesday 21 July 2009 18:45:55 John Doty wrote: >> Here, as promised, is the text of the first installment of my >> tutorial. Text only, I still gotta figure out the wiki. Comments are >> welcome. > > I would teach people the: > > (define (ad

Re: gEDA-user: gnetlist/Scheme tutorial

2009-07-21 Thread Peter TB Brett
On Tuesday 21 July 2009 18:45:55 John Doty wrote: > Here, as promised, is the text of the first installment of my > tutorial. Text only, I still gotta figure out the wiki. Comments are > welcome. I would teach people the: (define (add1 x) (+ x 1)) Syntax for function definition before introduc

gEDA-user: gnetlist/Scheme tutorial

2009-07-21 Thread John Doty
Here, as promised, is the text of the first installment of my tutorial. Text only, I still gotta figure out the wiki. Comments are welcome. Don't Panic! If you've never written a program in Lisp, it looks daunting. But it's a lot easier than it looks. Wrap a little bit of "syntactic sugar