You want to *invoke* digram, so:

(define (lesser-yin)
 (case (current-poly-target)
   [(txt) "figure out later"]
   [else (digram "⚍")]))

(note: untested)

On Tue, Feb 26, 2019 at 7:39 AM Brendan Stromberger <
brendanstromber...@gmail.com> wrote:

> ;;; pollen.rkt
> (define (digram . elements)
>  (case (current-poly-target)
>  [(txt) elements]
>  [else (txexpr 'span empty elements)]))
>
> (define (lesser-yin)
>  (case (current-poly-target)
>  [(txt) "figure out later"]
>  [else (txexpr 'digram empty '("⚍"))]))
>
> ◊; usage.pm
>
> ◊digram-row-item{◊(lesser-yin)}
>
>
> I'm playing around with having my `lesser-yin`, `greater-yin`, etc
> functions automatically wrap themselves in a `digram` custom tag. However,
> with this code, my markup shows a <digram>, rather than the intended
> <span>. Can someone help me understand this? Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Pollen" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pollenpub+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pollenpub+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to