> 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
> 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
> 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
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")
> 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
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
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
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
8 matches
Mail list logo