

⃗e

I am experimenting with unicode U+20D7 “Combining Right Arrow Above”.

The above combination displays correctly an arrow above an e in DrRacket.

However I feel that the arrow is too close to the e.


Where do I look to fix this?


For comparison an a with a right arrow in the answer: https://stackoverflow.com/questions/53840086/vector-arrow-on-top-of-an-letter-as-char-or-string/53840445?r=SearchResults#53840445

Turns out the result depends on the font. In some fonts the result looks fine.

@daniel has joined the channel

Is there a way to maintain hygienity across macros?
For example, I want macros that expands:
(macro1 x (cons 1 2)))
(println (macro2 (* 10 x)))
(println (macro3 (* 10 x)))
into:
(define-match (cons x$1 x$2) (cons 1 2))
(println (* 10 x$1))
(println (* 10 x$2))
but it shouldn’t be possible to write x$1
literally to access x$1
.

It’s possible, but not trivial

there really ought to be a library for making those kinds of macros

ones that need to stash values inside define-syntax
and access them later with syntax-local-value