Re: [racket-users] xml library clarification - "" symbol parsing

2019-11-21 Thread Kira
I understand that there is no law that forbids some ways of XML parsing. :) My question is in another plain. Perhaps some other languages have the same realization? I am trying to understated what purpose it serves? Does this done intentionally, or this is just random side effect? For example

Re: [racket-users] xml library clarification - "" symbol parsing

2019-11-21 Thread Matthew Butterick
> On Nov 21, 2019, at 9:51 AM, Kira wrote: > > I tested sxml. And it is producer rigth (for me) output. > > I feel that this is wrong behavior. Because this symbols is direct > part of one and whole element content. And must be read as "\"test qoute\"". > > Can please someone explain

Re: [racket-users] xml library clarification - "" symbol parsing

2019-11-21 Thread Jay McCarthy
Hi Kira, I think this is consistent with how XML is defined. There is a sequence of character data inside of tags. Character data is represented by strings in the `xml` library. And there is a sequence of those. Jay -- Jay McCarthy Associate Professor @ CS @ UMass Lowell

Re: [racket-users] GUI (get-directory)

2019-11-21 Thread Alexis King
> On Nov 21, 2019, at 11:21, James Platt wrote: > > If we can direct more of the energy of this community into, not just > improving the documentation, but the way we do documentation, it would be a > major improvement. Requiring lots of parentheses doesn't bother me. Lack of > infix

[racket-users] window on-move / move inconsistency: is this a bug?

2019-11-21 Thread Simon Schlee
Hello, I am writing a gui application it is supposed to save the position of the window and upon restart restore the position. For this I get the position via overriding the on-move method of frame%. Upon restoring I call (send frame move x y). The problem is that on my system (linux manjaro

[racket-users] xml library clarification - "" symbol parsing

2019-11-21 Thread Kira
I have a few questions. 1. Consider XML like this: testtest qoute (string->xexpr "testtest qoute") Will produce this: '(ROOT () (A () (B1 () "test") (B2 () "\"" "test qoute" "\""))) The problem is is parsed as separate entity. You can see that they added to list of element content as

Re: [racket-users] Re: GUI (get-directory)

2019-11-21 Thread James Platt
On Nov 20, 2019, at 3:31 AM, Jack Firth wrote: > Would it have helped if the get-directory documentation had included > examples? Many parts of Racket's documentation are lacking in example code, > especially the less-commonly-encountered parts. Indeed, I have previously mentioned the lack

[racket-users] Building Racket 7.5 CS on MacOS Catalina

2019-11-21 Thread Bruce O'Neel
Hi all, I normally build Racket from source, and, for 7.5 I decided to try Racket CS as well. Racket 7.5 builds fine from minimal source.  Racket CS builds fine as well from minimal source, but, when I run the command to build the rest of the distribution. ./raco pkg install

Re: [racket-users] Installing Racket 7.5 OSX command line

2019-11-21 Thread Manfred Lotz
On Wed, 20 Nov 2019 20:11:09 -0800 (PST) tbrooke wrote: > I have been trying to get the path set for racket 7.5 cs on OSX - > 7.4 cs worked fine > > I am not on Catalina yet. I am on Mojave 10.14.6 > > I renamed the directory I tried adding to paths.d and still no go > > I get: > > zsh: