bkyk8rc3zvpnsf5inmcqq4n3k98cv6hj-my-site-hyper-literate-git.test.suzanne.soy-0.0.1

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

lp-ex.rkt (322B)


      1 #lang scribble/lp2
      2 @(require scribble/manual)
      3 
      4 Literate programs have chunks of code, like this one:
      5 
      6 @chunk[<f>
      7        (define (f x)
      8          <fs-body>)]
      9 
     10 and this one:
     11 
     12 @chunk[<fs-body>
     13        (* x x)]
     14 
     15 that, when assembled, produce a complete program, in this case:
     16 
     17 @racketblock[(define (f x)
     18                (* x x))]