Re: scm functions scope and arguments

2005-06-25 Thread VSD
Nicolas, your answer was very helpful - thanks There should not be parens alone on a line. When you read Lisp or Scheme code, parentheses are not that important, what you look at is indentation. Me coming from C/C++ and pascal, I find scheme quite hard to read actually, but I guess it's a ma

Re: scm functions scope and arguments

2005-06-24 Thread Nicolas Sceaux
VSD <[EMAIL PROTECTED]> writes: > #(def-markup-command (E-one layout props arg) (markup?) >(let > ( >(definition-list > (fret-parse-definition-string > (cons '((thickness . 0.8) (size . 1.05)) props) > "h:3;f:1;6-o;5-2-2;4-2-3;3-1-1;2-o;1-o;" > )

scm functions scope and arguments

2005-06-24 Thread VSD
Hi, I've made a set of scheme functions to simplify the use of custom fret diagrams in scores. Here is a sample file of how it works: % start of sample file \version "2.5.31" % Win XP #(def-markup-command (E-one layout props arg) (markup?) (let ( (definition-list