Changeset 15290 in project


Ignore:
Timestamp:
07/31/09 17:19:00 (10 years ago)
Author:
sjamaan
Message:

Add an example usage of spiffy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/spiffy

    r15056 r15290  
    660660parameter.
    661661
     662=== Examples
     663
     664Spiffy is very easy to use for simple cases:
     665
     666<enscript highlight=scheme>
     667(use spiffy)
     668
     669(server-port 80)
     670(server-root "/var/www")
     671(start-server)
     672</enscript>
     673
     674One could also use parameterize:
     675
     676<enscript highlight=scheme>
     677(use spiffy)
     678
     679(parameterize ((server-port 80)
     680               (server-root "/var/www"))
     681  (start-server))
     682</enscript>
    662683
    663684=== Changelog
Note: See TracChangeset for help on using the changeset viewer.