Thanks for your reply Ben.
I understand that I am supposed to be getting a Dir instance.
My confusion is indeed regarding the value of the name field of Dir for
which I get a (full) path symbol of the directory and not just the folder
name as I would expect.
When I run (create-dir "test") and t
On Wednesday, March 18, 2020 at 7:47:22 PM UTC-5, Ryan Kramer wrote:
>
> I'm currently using Racket 7.6 (non-CS) on Windows, and it feels like
> `raco test` is much slower these days.
>
My mistake, it seems `raco test` never created the "compiled" directories
with the dep and zo files. I found t
Not yet. To be more concrete:
% racket --lib racket -t ex-1.2-3.rkt -t ex-1.7.rkt -t ex-1.8.rkt -r check.rkt
check.rkt:31:7: sum-of-squares-max3: unbound identifier
in: sum-of-squares-max3
location...:
check.rkt:31:7
context...:
do-raise-syntax-error
for-loop
[repeats 1 more ti
> But I was really expecting that the option -t in the racket command should
> replace the explicit (require…) in B.rkt. Something like
>
>> racket -t A.rkt -f B.rkt
> default-load-handler: expected a `module' declaration, but found something
> else
Yes that almost works, but A.rkt needs to provid
Oh… That is great Ben. Thank you. This is very closer to what I am looking for,
so I can avoid having to add the (provide …) in A.rkt and (require …) in B.rkt
!! I should not be so hard to remove the lines `#lang racket` in all files from
the students.
But I was really expecting that the opt
On 3/19/20, Alexandre Rademaker wrote:
>
> Suppose I have some functions defined in a file A.rkt and some tests defined
> in the file B.rkt. How can I execute the tests in the command line?
>
> I was expecting to be able to run
>
>> racket A.rkt B.rkt
>
> But this does not evaluate the expressions
Hello, this is very possible and you have the right idea.
You need to (provide ...) the functions from A.rkt in your case, and
(require "A.rkt") in B.rkt. Then you can simply run "racket B.rkt" and the
require will get all of the functions that have been provided in A.rkt
(assuming these files
Suppose I have some functions defined in a file A.rkt and some tests defined in
the file B.rkt. How can I execute the tests in the command line?
I was expecting to be able to run
> racket A.rkt B.rkt
But this does not evaluate the expressions on B.rkt as I was expecting!
1. Do I need to exp
Philip McGrath writes:
> For a general solution, I'd take a look at the Citation Style Language (
> https://citationstyles.org/), which is an XML language for defining how to
> render citations and bibliographies. A major advantage is that it has libre
> style definitions for a dizzying variety of
Philip McGrath writes:
> On Thu, Mar 19, 2020 at 12:40 PM Matthew Flatt wrote:
>
>> At Thu, 19 Mar 2020 12:38:39 -0400, Christopher Lemmer Webber wrote:
>> > I will spend the rest of the day looking at what scriblib's bibliography
>> > stuff does in further detail and think about how to accomplis
On Thu, Mar 19, 2020 at 12:40 PM Matthew Flatt wrote:
> At Thu, 19 Mar 2020 12:38:39 -0400, Christopher Lemmer Webber wrote:
> > I will spend the rest of the day looking at what scriblib's bibliography
> > stuff does in further detail and think about how to accomplish what we
> > need. It could
At Thu, 19 Mar 2020 12:38:39 -0400, Christopher Lemmer Webber wrote:
> I will spend the rest of the day looking at what scriblib's bibliography
> stuff does in further detail and think about how to accomplish what we
> need. It could be that what I do is build a quicker proof of concept
> that acc
Matthew Flatt writes:
> At Thu, 19 Mar 2020 11:46:44 -0400, Christopher Lemmer Webber wrote:
>> What I thought was the more "Racket'y way" would be to store it as
>> abstract data that then could be rendered to the appropriate style
>> (that's what BibTeX and everything else does).
>
> Well, perha
At Thu, 19 Mar 2020 11:46:44 -0400, Christopher Lemmer Webber wrote:
> What I thought was the more "Racket'y way" would be to store it as
> abstract data that then could be rendered to the appropriate style
> (that's what BibTeX and everything else does).
Well, perhaps the Rackety way is to store
Hello,
As some of you know (since we talked about it in a racketcon talk a
couple of year ago), my spouse Morgan (cc'ed) is writing her art history
dissertation in Scribble. She's getting close to finishing it (yay!)
and we've been very happy with Scribble for this use in general, except
for one
On 3/19/20, Aron Zvi wrote:
> Hey guys,
>
> In part 4 section 20.3 Refining Functions I am using (require htdp/dir)
> and (create-dir DIR-PATH). I get back a Dir instance with name value being
> a full path symbol of the folder. ie. (make-dir
> '/Users/SSS/Documents/xyz empty empty).
> This does n
The plai languages pre-date submodules, so you're right that they were not
tested or designed to support them. It might be possible, but I am
skeptical about it being a quick fix. The problem might just be that they
are built on `scheme` but if they were built on `racket` everything would
just work
Hey guys,
In part 4 section 20.3 Refining Functions I am using (require htdp/dir)
and (create-dir DIR-PATH). I get back a Dir instance with name value being
a full path symbol of the folder. ie. (make-dir
'/Users/SSS/Documents/xyz empty empty).
This does not seem to be in line with the exercis
18 matches
Mail list logo