Re: [racket-users] [racket users] Pollen tag question

2020-10-30 Thread Matthew Butterick
> On Oct 30, 2020, at 1:46 PM, Kevin Forchione wrote: > > Thanks, Matthew! Understanding dawns. So the padding of lines is relative to > the “{“ and not from the beginning of the editor line as I was assuming. How > very clever. That makes alignment much easier than I’d thought! > > Is

Re: [racket-users] [racket users] Pollen tag question

2020-10-30 Thread Kevin Forchione
> On Oct 30, 2020, at 12:25 PM, Matthew Butterick wrote: > > Spaces at the beginning of body lines do not appear in the resulting > S-expressions, but the column of each line is noticed, and all-space > indentation strings are added so the result has the same indentation … If the > first

Re: [racket-users] [racket users] Pollen tag question

2020-10-30 Thread Matthew Butterick
> On Oct 29, 2020, at 9:04 PM, Kevin Forchione wrote: > > I’ve noticed that the elements being sent to a pollen tag don’t preserve the > spacing when the text spans multiple lines for any space occurring before > characters on the subsequent line, although does preserve the spacing between

Re: [racket-users] [racket users] Pollen tag question

2020-10-30 Thread Kevin Forchione
If I remove my pollen.rkt from the directory and use: #lang pollen A B C D I get: '(root "A B" "\n" "C D”) But if I use: #lang pollen ◊(define foo "foo") A B C D I get: '(root " " "A B" "\n" " " "C D")

Re: [racket-users] [racket users] Pollen tag question

2020-10-30 Thread Kevin Forchione
> On Oct 29, 2020, at 9:21 PM, Sorawee Porncharoenwase > wrote: > > Whoops. I meant: > > #lang pollen > > ◊(define (vb . s) s) > > ◊vb{ A B >C D} > and the output is: > > '(" A B" "\n" " " "C D") > > On Thu, Oct 29, 2020 at 9:19 PM

Re: [racket-users] [racket users] Pollen tag question

2020-10-29 Thread Sorawee Porncharoenwase
Whoops. I meant: #lang pollen ◊(define (vb . s) s) ◊vb{ A B C D} and the output is: '(" A B" "\n" " " "C D") On Thu, Oct 29, 2020 at 9:19 PM Sorawee Porncharoenwase < sorawee.pw...@gmail.com> wrote: > I think the issue is with vb. How does

Re: [racket-users] [racket users] Pollen tag question

2020-10-29 Thread Sorawee Porncharoenwase
I think the issue is with vb. How does it work? If you try #lang pollen @(define (vb . s) s) ◊vb{ A B C D} you will find that it outputs: '(vb " A B" "\n" " " "C D") The third element is the space before “C”. It's not

[racket-users] [racket users] Pollen tag question

2020-10-29 Thread Kevin Forchione
Hi guys, I’ve noticed that the elements being sent to a pollen tag don’t preserve the spacing when the text spans multiple lines for any space occurring before characters on the subsequent line, although does preserve the spacing between characters on that line.Is thes intentional? For