Joel Dueck

Results 129 comments of Joel Dueck

There’s not a way to tell them apart strictly by whether they occur in `[ ]` vs `{ }`. I’m prettry sure that information gets discarded by the reader. But...

Pollen has no built-in facilities for building a keyword index for HTML; each author must design and implement their own system. It's quite an exercise. (Obviously, if you’re only targeting...

In my current project, I specify all links reference-style, e.g.: ``` #lang pollen If you need help, ◊link[1]{Google it}. ◊url[1]{https://google.com} ``` The [implementation can be seen here](https://thelocalyarn.com/code/artifact?udc=1&ln=186-205&name=d9318d9822c88d35). It’s probably more...

> @otherjoel separating it into `link` and `url` is very clever! But personally I kinda dislike using number because it's not descriptive and consequently make it easy to get it...

> I've been thinking about validating/throwing errors in tag functions lately, and I wonder if it's possible to include the location of the error in the source file (i.e., the...

> So instead of 'google being defined in the same file, it could be defined in separate links.rkt file @basus Note that `'google` is a symbol (note the preceding apostrophe),...

Can you clarify what you mean by "overhead"? Computationally, it's practically nothing. To make things even simpler, you could leave out the `links.rkt` file and just `define` the links in...

The most polished way would be to create a [package](https://docs.racket-lang.org/pkg/getting-started.html) and include Scribble documentation and make it available on the package server. But if you simply make a GitHub repo...

Here’s a working example for your second question. Every Pollen document `provide`s two values, a `doc` and a `metas`, which you can fetch with [`get-doc`][1] and [`get-metas`][2]. So we can...

> I had to make one change: if the stuff from the included file ends up being just one string, and not a list, the cdr fails; instead I have...