FWIW, an unreleased Racket mode for Emacs (which did fast incremental
lexing, and some higher parsing[1]) intentionally colored the entire
expression after `#;` as a comment. I don't recall whether I decided to
have it skip over the commented expression for sibling-level sexp-based
editor oper
Daniel Prager writes:
> If only there was a way to have the best of both worlds.
>
> E.g. change the background color for #; to something reminiscent of the
> foreground color of regular comments:
>
> (display #|Comment|#
> ; comment
> #;(string-join "comm" "ent")
> "Hel
You are correct. `--config-path` isn't really what I thought it was. That
being said, I'm no closer to understanding this default preferences window
that appears on macOS[1] GUI programs.
[1] https://files.catbox.moe/cp6vsn.png
On Saturday, October 6, 2018 at 10:08:33 AM UTC-7, Matthew Flatt wr
If only there was a way to have the best of both worlds.
E.g. change the background color for #; to something reminiscent of the
foreground color of regular comments:
(display #|Comment|#
; comment
#;(string-join "comm" "ent")
"Hello world")
Or perhaps something like t
>> I find the #; construct very convenient for commenting out sexps, but in Dr
>> Racket the visual cue of switching to comment-color is missing.
>>
>> Example (in Racket 6.12):
>>
>> [image: Screen Shot 2018-10-07 at 10.19.09 pm.png]
>>
>> Expected:
>>
>> *#lang racket*
>>
>> (display #|Com
The `math/matrix` library aims at functional arrays, that is arrays
that aren't mutated but are instead transformed into new arrays.
However, if you want mutable arrays, then you should probably use the
`mutable-array` constructor to create them, and then `array-set!` will
work.
Sam
On Sun, Oct 7
>
> >I think you want the `matrix-ref` function.
>
While this does give me the value, I am unable to set it.
Calling
(define M (matrix ([1 2 3] [4 5 6])))
(set! (matrix-ref M 0 2) 5)
Leads to the error:
; .../Example.rkt:228:6: set!: not an identifier
-
And array-set! for cha
And array-set! for changing the value of an entry.
/Jens Axel
Den søn. 7. okt. 2018 kl. 16.46 skrev Sam Tobin-Hochstadt <
sa...@cs.indiana.edu>:
> I think you want the `matrix-ref` function.
>
> Sam
> On Sun, Oct 7, 2018 at 12:30 AM Ricardo Iglesias
> wrote:
> >
> > Sorry for the confusing wor
I think you want the `matrix-ref` function.
Sam
On Sun, Oct 7, 2018 at 12:30 AM Ricardo Iglesias
wrote:
>
> Sorry for the confusing wording.
> Basically, All I want is to be able to do
> G[ row ][ col ] = value
>
> In Racket. I've been messing with Racket this afternoon and have an engine
> that
For quite some time, I have
> On Oct 7, 2018, at 8:05 AM, Christopher Lemmer Webber
> wrote:
>
> I agree that they should be shown as comments.
>
> In many ways I like what happens (probably unintentionally) in my emacs
> setup: I have rainbow-delimeters enabled, which colors the parenthe
I agree that they should be shown as comments.
In many ways I like what happens (probably unintentionally) in my emacs
setup: I have rainbow-delimeters enabled, which colors the parentheses.
When I comment out the s-exp with #; the sexp looks commented out, but
the parentheses remain colored. Whi
I find the #; construct very convenient for commenting out sexps, but in Dr
Racket the visual cue of switching to comment-color is missing.
Example (in Racket 6.12):
[image: Screen Shot 2018-10-07 at 10.19.09 pm.png]
Expected:
*#lang racket*
(display #|Comment|#
; comment
#;(
12 matches
Mail list logo