On Tue, Feb 27, 2018 at 2:46 PM, Jos Koot wrote:
> It breaks my brain, certainly.
> Glad to read you think you are getting to it.
> When you got it, explain to me, please, for I don't understand nothing of
> it.
> I just applied some trial and error to get to a point where I can use
> curry.
> (I
It breaks my brain, certainly.
Glad to read you think you are getting to it.
When you got it, explain to me, please, for I don't understand nothing of it.
I just applied some trial and error to get to a point where I can use curry.
(In fact I prefer to use my own curry (that is not curried, but nei
On Tue, Feb 27, 2018 at 12:12 PM, Jos Koot wrote:
> curry itself is curried (which sometimes is puzzling)
>
> (define (foo a #:bar x) x)
> ((curry foo #:bar 9) 8) ; -> #
> ((curry curry foo #:bar 9) 8) ; -> 9
>
> I hope others can explain this in detail.
> I can't.
>
> Jos
>
Madness! Madn
curry itself is curried (which sometimes is puzzling)
(define (foo a #:bar x) x)
((curry foo #:bar 9) 8) ; -> #
((curry curry foo #:bar 9) 8) ; -> 9
I hope others can explain this in detail.
I can't.
Jos
-Original Message-
From: racket-users@googlegroups.com [mailto:racket-users@g
On Tue, Feb 27, 2018 at 11:35 AM, David Storrs
wrote:
> Despite using it for a long time, I discovered today that I do not
> understand 'curry', at least insofar as it applies to keyword
> arguments.
>
>> (define (baz a b) b)
>> (baz 8 9)
> 9
>
>> (curry baz 8)
> #
>
>> ((curry baz 8) 9)
> 9
>
>>
Despite using it for a long time, I discovered today that I do not
understand 'curry', at least insofar as it applies to keyword
arguments.
> (define (baz a b) b)
> (baz 8 9)
9
> (curry baz 8)
#
> ((curry baz 8) 9)
9
> (define (foo a #:bar x) x)
> (foo 8 #:bar 9)
9
> (curry foo #:bar 9)
#
Up
Hi
The order in which procedure make-custom-set-types returns its values
differs from the order given in the docs.
The same holds for procedure make-custom-hash-types.
Can this be synchronized?
(preferably in the docs for backward compatibilty, I assume)
DrRacket, version 6.12 [3m].
Jos Koot
On Tuesday, February 27, 2018 at 6:13:43 PM UTC+8, Claes Wallin wrote:
> If I try to `racket -l- some/file` or try to (require) it, it won't be
> found, and racket will again complain "collection not found", even though
> there is:
>
> 1. An entry for the collection in
> /nix/store/...-mypack
On Sunday, February 25, 2018 at 1:03:08 PM UTC+8, Claes Wallin wrote:
> I've worked around it by simply looking at ((get-info/full
> "$package_path") 'collection), creating the appropriate .../collects
> directories based on the value, and then after raco setup I prune all
> empty directories
9 matches
Mail list logo