[racket-users] Code in The Seasoned Schemer not accessible from REPL in Geiser or Dr. Racket

2016-11-08 Thread Ian Thomas
Hello list, I've been working through The Seasoned Schemer and have come across code that I can't access in the Racket REPL: specifically, the version of rember1* shown on p. 139 of the 17th chapter. I'm not sure why there is a complaint about the 'oh' variable being unbound in the last let

Re: [racket-users] Unable to track down what is requiring inclusion of tzinfo module - Resolved

2016-10-22 Thread Ian Thomas
On Saturday, October 22, 2016 at 2:34:29 PM UTC-4, Jon Zeppieri wrote: > I changed the tzinfo and tzdata packages to remove the dynamic-require > behavior. If tzdata is installed, then tzinfo will use the data and will > define a runtime path list referring to the data files, so this should work

Re: [racket-users] Unable to track down what is requiring inclusion of tzinfo module - Resolved

2016-10-14 Thread Ian Thomas
On Friday, October 14, 2016 at 12:39:19 AM UTC-4, Sam Tobin-Hochstadt wrote: > That's likely the problem. Usually you need to use define-runtime-path or a > variant of that to cooperate with raco exe. > > Sam > >From what I'm reading in the documentation, that sounds right. "Library modules

Re: [racket-users] Unable to track down what is requiring inclusion of tzinfo module - Resolved

2016-10-13 Thread Ian Thomas
On Thursday, October 13, 2016 at 6:18:56 PM UTC-4, Ian Thomas wrote: > > I installed "gregor" using the following raco command. > > raco pkg install gregor > > My Racket installation looks in the following directories for Collections: > > racket@set

Re: [racket-users] Unable to track down what is requiring inclusion of tzinfo module

2016-10-13 Thread Ian Thomas
On Thursday, October 13, 2016 at 2:05:53 PM UTC-4, Vincent St-Amour wrote: > The tzinfo dependency comes from gregor (well, from gregor-lib, which > gregor depends on). > > But, I would have also expected installing gregor to pull in that > dependency. How did you install gregor? > > Vincent I

[racket-users] Unable to track down what is requiring inclusion of tzinfo module

2016-10-13 Thread Ian Thomas
Hello list, I'm receiving the following error when trying to run my application: ./date_analyzer --help standard-module-name-resolver: collection not found for module path: tzinfo/zoneinfo-data collection: "tzinfo" in collection directories: context...: show-collection-err

Re: [racket-users] Unable to utilize parse-command-line to build command line application

2016-10-13 Thread Ian Thomas
On Wednesday, October 12, 2016 at 3:15:11 PM UTC-4, Ian Thomas wrote: > On Wednesday, October 12, 2016 at 10:19:28 AM UTC-4, Ben Greenman wrote: > > Alright, here's something that I think does what you want. > > > > > > > > #lang racket > > > >

Re: [racket-users] Unable to utilize parse-command-line to build command line application

2016-10-12 Thread Ian Thomas
On Wednesday, October 12, 2016 at 10:19:28 AM UTC-4, Ben Greenman wrote: > Alright, here's something that I think does what you want. > > > > #lang racket > > > (require racket/base >  racket/cmdline) > > > (parse-command-line "com_line" >  ;; argv >  (current-command-line-arguments) >  ;;

Re: [racket-users] Unable to utilize parse-command-line to build command line application

2016-10-12 Thread Ian Thomas
On Wednesday, October 12, 2016 at 6:54:45 AM UTC-4, Ian Thomas wrote: > On Tuesday, October 11, 2016 at 9:50:12 PM UTC-4, Ben Greenman wrote: > > Indirect answer: could you use `command-line` instead? > > > > > > > > #lang racket/base > > (require rack

Re: [racket-users] Unable to utilize parse-command-line to build command line application

2016-10-12 Thread Ian Thomas
t;   #:program "sample" >   #:once-each >   [("-i" "--input-file") >    i >    "Use as the input file." >    (input-from i)] >   #:args (file) >   (printf "my argument is: ~a\n" file) >   ;; do things with `file` and `input-from`

[racket-users] Unable to utilize parse-command-line to build command line application

2016-10-11 Thread Ian Thomas
I'm trying to add a simple command line interface to a program and receive the following error: parse-command-line: expected argument of type ; given: '((once-each (("-i" "--input\ -file") # ("Use as the input file."