Re: [racket-users] Byte Order Mark: alter display of symbols containing nonprinting characters?

2017-12-27 Thread 'John Clements' via Racket Users
> On Dec 27, 2017, at 19:57, Justin Zamora wrote: > > There are many characters that have different Unicode values but use the same > glyphs. Many Cyrillic characters look like their English characters, so they > appear the same visually, but equal? and eq? reveal that they are actually > di

[racket-users] Blockly-Like Interface in DrRacket

2017-12-27 Thread Stephen Foster
If I wanted to build a drag-and-drop, visual programming interface for programming in DrRacket, is there any prior work I can build on? Ideally, I'd like to implement this as a DrRacket "snip", so that my students can make programs that are partially text-based and partially visual. Any sugge

Re: [racket-users] Byte Order Mark: alter display of symbols containing nonprinting characters?

2017-12-27 Thread Justin Zamora
There are many characters that have different Unicode values but use the same glyphs. Many Cyrillic characters look like their English characters, so they appear the same visually, but equal? and eq? reveal that they are actually distinct. It seems to be that the BOM is just another example on this

Re: [racket-users] Byte Order Mark: alter display of symbols containing nonprinting characters?

2017-12-27 Thread Shu-Hung You
(Interned) symbols that have the same printed form but are not equal to each other already exist tho; the symbols produced by string->unreadable-symbol are not equal? to their counterparts produced by the reader, but nevertheless have the same printed representation. Shu-Hung On Wed, Dec 27, 2017

Re: [racket-users] Byte Order Mark: alter display of symbols containing nonprinting characters?

2017-12-27 Thread Jay McCarthy
Okay. I think I understand. The behavior of "two things print the same but are actually different" that Racket has seems to be the same as my editor and Web browser which don't render the BOM as anything unless I fiddle something in Emacs. Additionally, it seems painful to make it do it a differen

Re: [racket-users] Byte Order Mark: alter display of symbols containing nonprinting characters?

2017-12-27 Thread 'John Clements' via Racket Users
> On Dec 27, 2017, at 19:06, Jay McCarthy wrote: > > This seems to be consistent with my Web browser and editor. Are the > symbols eq? or equal? Neither. Am I misunderstanding you? Here’s code: #lang racket (define bad-symbol (string->symbol "\uFEFFhello")) (define regular-symbol 'hello) b

Re: [racket-users] Byte Order Mark: alter display of symbols containing nonprinting characters?

2017-12-27 Thread Jay McCarthy
This seems to be consistent with my Web browser and editor. Are the symbols eq? or equal? On Wed, Dec 27, 2017 at 3:54 PM, 'John Clements' via Racket Users wrote: > I was working with files containing a Byte Order Mark today, and in the > process of writing a test case, I discovered that > > (st

[racket-users] Byte Order Mark: alter display of symbols containing nonprinting characters?

2017-12-27 Thread 'John Clements' via Racket Users
I was working with files containing a Byte Order Mark today, and in the process of writing a test case, I discovered that (string->symbol “\uFEFF”) produces a symbol whose printed representation is ‘hello … which seems unfortunate; I guess I would have expected something like ‘|\uFEFFhello|

[racket-users] Re: Installing Racket Package `gregor` inside a Docker container

2017-12-27 Thread Alexander McLin
I don't have much to add but wanted to note that the problem appears to be in rendering grengor's documentation. The package itself may be installed fine, just not its associated documentation. You can test to verify if package is installed by querying via raco pkg or just requiring gregor in a