From 4ec5172acc0f5fa398bea307750015dd431be26b Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Mon, 15 Feb 2021 15:01:42 -0800 Subject: [PATCH] update margin note (#246) --- pollen/private/ts.rktd | 2 +- pollen/scribblings/decode.scrbl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pollen/private/ts.rktd b/pollen/private/ts.rktd index e0c1e57..3559321 100644 --- a/pollen/private/ts.rktd +++ b/pollen/private/ts.rktd @@ -1 +1 @@ -1613429435 +1613430102 diff --git a/pollen/scribblings/decode.scrbl b/pollen/scribblings/decode.scrbl index e74cbf6..623610e 100644 --- a/pollen/scribblings/decode.scrbl +++ b/pollen/scribblings/decode.scrbl @@ -44,7 +44,7 @@ This function doesn't do much on its own. Rather, it provides the hooks upon whi Recall that in Pollen, all @secref["tags-are-functions"]. By default, the @racket[_tagged-xexpr] from a source file is tagged with @racket[root]. So the typical way to use @racket[decode] is to attach your decoding functions to it, and then define @racket[root] to invoke your @racket[decode] function. Then it will be automatically applied to every @racket[doc] during compile. -@margin-note{The @racket[hyphenate] function is not part of Pollen, but rather the @link["http://github.com/mbutterick/hyphenate"]{@racket[hyphenate] package}, which you can install separately.} +@margin-note{@link["https://docs.racket-lang.org/pollen-tfl/_pollen_rkt_.html#%28def._%28%28lib._pollen-tfl%2Fpollen..rkt%29._root%29%29"]{Here's an example} of invoking @racket[decode] via the @racket[root] tag. That example is part of the @racket[pollen-tfl] sample project, which you can install & study separately.} This illustrates another important point: even though @racket[decode] presents an imposing list of arguments, you're unlikely to use all of them at once. These represent possibilities, not requirements. For instance, let's see what happens when @racket[decode] is invoked without any of its optional arguments.