sorawee
2021-7-1 12:22:46

Btw, I saw that recently @capfredf removes the Typed Racket provide transformer. What’s the motivation behind it?


capfredf
2021-7-1 12:36:01

Other than saving some keystrokes, those transformers actually don’t do any meaningful things. On the other hand, you have to import utils.rkt, which we would want to remove eventually, so as to use them. And in some corner cases, they don’t always work like the real ’require-spec’s (I can’t remember the details though)


samth
2021-7-1 12:43:05

They also didn’t work well with tools and were confusing to new people


kyp0717
2021-7-1 13:12:08

Hi. Please advise on the best approach to merging two hash tables on the keys.


kyp0717
2021-7-1 13:13:53

For example .. (define table1 (make-hasheq)) (define table2 (make-hasheq)) (hash-set! table1 "key1" 111) (hash-set! table2 "key1" 222) I would to create a 3rd table that looks like this ..


soegaard2
2021-7-1 13:14:03

hash-union or hash-union!


kyp0717
2021-7-1 13:14:13

ahh okay… let me try


kyp0717
2021-7-1 13:15:31

thanks!