soegaard2
2018-12-22 12:39:38

soegaard2
2018-12-22 14:00:28

⃗e


soegaard2
2018-12-22 14:01:22

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


soegaard2
2018-12-22 14:01:44

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


soegaard2
2018-12-22 14:01:58

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


soegaard2
2018-12-22 14:02:47

soegaard2
2018-12-22 14:03:08

Where do I look to fix this?


soegaard2
2018-12-22 14:03:53


soegaard2
2018-12-22 16:06:02

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


daniel
2018-12-23 01:45:40

@daniel has joined the channel


sorawee
2018-12-23 04:11:17

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.


lexi.lambda
2018-12-23 04:23:17

It’s possible, but not trivial


notjack
2018-12-23 05:02:36

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


notjack
2018-12-23 05:03:42

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