Hello,
Let's say I have a program the user entered that just looks like
1 + 2
and I have three different #langs, all with different parsers and different
notions of addition, for which this is a valid program. I'm looking to make it
so that this program outputs the following:
"Output for la
Hello,
I just built an indenter for a #lang I wrote, and placed it into the get-info
function. It seems that by default, Racket will only call the indenter if you
tell it to (by hitting tab or control I) or when you hit enter. In the latter
case, it will only indent the line you're on after you
On Saturday, August 12, 2017 at 12:21:19 PM UTC+2, Zelphir Kaltstahl wrote:
> I want to parallelize a procedure which looks like this:
>
> ~~~
> (define (gini-index subsets label-column-index)
> (for/sum ([subset (in-list subsets)])
> (for/sum ([label (in-list (list 0 1))])
> (calc-pro
On Sat, Aug 12, 2017 at 6:21 AM, Zelphir Kaltstahl
wrote:
>
> ~~~
> (define (gini-index subsets label-column-index)
> (for*/list ([subset (in-list subsets)]
> [label (in-list (list 0 1))])
> (place pch
>(place-channel-put pch (list subset label label-column-index))
On Sunday, August 6, 2017 at 2:49:59 PM UTC-7, Cecil McGregor wrote:
> I've run the Quickstart and find some problems when
> I start adding minor forms.
>
> The QuickStart is at https://docs.racket-lang.org/mongodb/Quickstart.html
>
> Here is the QuickStart code:
>
> #lang racket
> (require db/m
On Sun, Aug 6, 2017 at 3:49 PM, Cecil McGregor wrote:
> The output is as expected as well as the db validity:
> (This was performed after running db.dropDatabase() )
> Welcome to DrRacket, version 6.9 [3m].
> Language: racket, with debugging.
> '#("Can't wait!" "Another blog?")
>> (mongo-db? d)
>
I want to parallelize a procedure which looks like this:
~~~
(define (gini-index subsets label-column-index)
(for/sum ([subset (in-list subsets)])
(for/sum ([label (in-list (list 0 1))])
(calc-proportion subset
label
label-column-index
7 matches
Mail list logo