> On Feb 19, 2017, at 14:40, Matthias Felleisen wrote:
>
>
>> On Feb 18, 2017, at 11:12 PM, 'John Clements' via Racket Users
>> wrote:
>>
>> (cc:ak)
>>
>> Okay, this sounds just crushingly obvious now that I say it, but honestly, I
>> don’t think it’s occurred to me:
>>
>> One reason tha
> On Feb 20, 2017, at 1:53 PM, John Clements wrote:
>
> No, I don’t think you missed anything, but from the standpoint of those
> teaching early classes in either Java or Python (a standpoint that I
> understand you are generally and mercifully not compelled to adopt),
Yes. As a you know wel
I don't think `check-expect` is doing something that's
module-relative. For example, this program:
#lang racket
(require test-engine/racket-tests)
(struct x (a))
(check-expect (x 1) (x 1))
(run-tests)
(display-results)
fails its test. `equal?` in Racket checks structural equality in a
deep way, w
Hi all, I have this little toy project[1] to help me learn the language. I
would like to produce a single portable executable that can be executed without
reliance on racket installation. `raco distribute` does produce a "package"
folder. But for small utility tool like this, I would prefer a si
https://docs.racket-lang.org/raco/exe.html
Is raco exe in this page what you want? Just type
> raco exe q.rkt
And this command will produce a single executable. Now we can now run
> ./q
q: expects 1 on the command line, given 0 arguments
Best,
Shu-Hung
On Mon, Feb 20, 2017 at 1:12 PM, lu wro
> On Feb 20, 2017, at 11:02, Matthias Felleisen wrote:
>
>
>> On Feb 20, 2017, at 1:53 PM, John Clements wrote:
>>
>> No, I don’t think you missed anything, but from the standpoint of those
>> teaching early classes in either Java or Python (a standpoint that I
>> understand you are general
> On Feb 20, 2017, at 11:06, Sam Tobin-Hochstadt wrote:
>
> I don't think `check-expect` is doing something that's
> module-relative. For example, this program:
>
> #lang racket
> (require test-engine/racket-tests)
> (struct x (a))
> (check-expect (x 1) (x 1))
> (run-tests)
> (display-results)
Sorry, I saw that you're already using raco exe and raco distribute.
So is the problem related to some DLL issue on Windows?
Best,
Shu-Hung
On Mon, Feb 20, 2017 at 1:19 PM, Shu-Hung You
wrote:
> https://docs.racket-lang.org/raco/exe.html
> Is raco exe in this page what you want? Just type
>
>> r
On Mon, Feb 20, 2017 at 2:23 PM, 'John Clements' via Racket Users
wrote:
>
>> On Feb 20, 2017, at 11:06, Sam Tobin-Hochstadt wrote:
>>
>> I don't think `check-expect` is doing something that's
>> module-relative. For example, this program:
>>
>> #lang racket
>> (require test-engine/racket-tests)
On Monday, February 20, 2017 at 11:24:50 AM UTC-8, Shu-Hung You wrote:
> Sorry, I saw that you're already using raco exe and raco distribute.
> So is the problem related to some DLL issue on Windows?
>
> Best,
> Shu-Hung
>
> On Mon, Feb 20, 2017 at 1:19 PM, Shu-Hung You
> wrote:
> > https://docs
> On Feb 20, 2017, at 2:27 PM, Sam Tobin-Hochstadt wrote:
>
> Maybe that's true, but I haven't wanted to do that in my Racket code
> using either `check-expect` in class or `check-equal` in Rackunit (or
> at least, not enough to define a new abstraction for it). Have you
> tried making a testing
On Tuesday, February 21, 2017 at 3:12:50 AM UTC+8, lu wrote:
> Hi all, I have this little toy project[1] to help me learn the language. I
> would like to produce a single portable executable that can be executed
> without reliance on racket installation. `raco distribute` does produce a
> "packa
On Thursday, February 16, 2017 at 9:46:53 PM UTC+5:30, David K. Storrs wrote:
> I find PP to be a useful tool for thinking about programming, but not
> terribly significant in everyday use -- my code will typically end up as a
> mixture of functional, declarative, procedural, and OO. The fact th
In `get-file-list` there is a filter argument that can be passed to the
function such that when going through a directory it'll only list directories
and those files in the filter (separated by a semicolon). This can get rather
unruly when the filter is rather large. At current count, I have a
On Tuesday, February 21, 2017 at 11:52:49 AM UTC+8, Lehi Toskin wrote:
> In `get-file-list` there is a filter argument that can be passed to the
> function such that when going through a directory it'll only list directories
> and those files in the filter (separated by a semicolon). This can ge
15 matches
Mail list logo