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
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
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
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
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
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
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
> >
> >
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)
> ;;
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
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`
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."
11 matches
Mail list logo