Lecture overview
Keyboard shortcut: 'u'  Previous slide in this lecture
Keyboard shortcut: 'p'  Next slide in this lecture
Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  Annotated slide
Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    Slide 9 : 20

Semi constant strings in Scheme 

It would be convenient to support a semi constant string concept analogous to quasi quoted lists in Lisp
 

  <point> 
    A text with a 
    <a href="subsection/sec1.html">link</a> 
    to a <b>subsection</b>
  </point>
 

  (point
    "A text with a 
     (a "link" 'href "subsection/sec.html")
     to a (b "subsection")
    ")
 

  (point
    (string-append
      "A text with a " 
       (a "link" 'href "subsection/sec.html")
      " to a " (b "subsection")))
 

 

We have dropped the idea of supporting semi-constant strings in Scheme

Instead we go for distinguished editor support of the 'string-append' forms