diff --git a/.gitignore b/.gitignore index 93e4072..f8fdee7 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ compiled/ *.bak \#* .\#* +/test.ini diff --git a/info.rkt b/info.rkt index da82c41..8b64455 100644 --- a/info.rkt +++ b/info.rkt @@ -1,7 +1,7 @@ #lang info (define pkg-authors '(hnmdijkema)) -(define version "0.20") +(define version "0.2.1") (define license 'Apache-2.0) ;(define collection "simple-ini") (define pkg-desc "A Simple .ini file reader/writer for racket") diff --git a/roos.rkt b/roos.rkt index 63dc927..638c139 100644 --- a/roos.rkt +++ b/roos.rkt @@ -21,7 +21,7 @@ (fail #f) ((file) file*) - ((file! f) (i-set! file* f) (-> this reload)) + ((file! f) (i-set! file* f) (%-> this reload)) ((reload) (i-set! content (if (not (eq? file* #f)) diff --git a/scribblings/ini.scrbl b/scribblings/ini.scrbl index 34f87b4..a5f20ba 100644 --- a/scribblings/ini.scrbl +++ b/scribblings/ini.scrbl @@ -77,7 +77,7 @@ Provides a @seclink["top" #:doc '(lib "roos/scribblings/roos.scrbl")]{Roos class} that gives object-oriented access to INI files using the underlying @racket[file->ini] parser system. The class offers methods to load, query, and update INI files using familiar object-style interactions.} -@defproc[(-! [ini roos-class*] [or/c path-string?]) roos-object*]{ +@defproc[(%-! [ini roos-class*] [or/c path-string?]) roos-object*]{ Creates an @racket[ini] object. If a @racket[file] path is provided and the file exists, it is loaded immediately. Otherwise, an empty INI structure is created. If no file is provided, the object operates in-memory only. Subsequent @racket[set!] operations will raise an error unless a file is later specified with @racket[(file!)].