Racket/Options: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
 
Line 1: Line 1:
This code is a small library for dealing with options file, used in [[Update a configuration file]] and [[Read a configuration file]]. It is assumed to be in a file called "options.rkt".
This code is a small library for dealing with options file, used in [[Update a configuration file]] and [[Read a configuration file]]. It is assumed to be in a file called "options.rkt".


<lang Racket>
<syntaxhighlight lang="Racket">
#lang racket
#lang racket


Line 87: Line 87:
[_ (opt-ref 'name)]))
[_ (opt-ref 'name)]))
...))
...))

</lang>
</syntaxhighlight>