Racket/Options: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1:
This code is a small library for dealing with options file, used in [[Update_a_configuration_fileUpdate a configuration file]] and [[Read_a_configuration_fileRead a configuration file]]. It is assumed to be in a file called "options.rkt".
 
<langsyntaxhighlight lang="Racket">
#lang racket
 
(provide read-options write-options define-options ENABLE)
 
;; holds the verbatim line, includes empty lines
Line 85 ⟶ 87:
[_ (opt-ref 'name)]))
...))
 
</lang>
</syntaxhighlight>