hilaloytun
2022-7-8 09:13:15

@hilaloytun has joined the channel


jcoo092
2022-7-8 23:45:04

> anything that’s been around for a long time has some serious warts This is very true. I mean, just look at the x86 processor ISA.


hj93
2022-7-9 03:54:15

how do you write dsls in racket without the beautiful-racket package?



hj93
2022-7-9 04:02:39

after skimming it I do not think is very good. I did not see any mention about lexers, parsers and other important components



matias
2022-7-9 04:47:22

huh… has typed/racket’s type checking of match always been so lacklustre?


matias
2022-7-9 04:47:54

(: stuff ((U 1 2) -> Symbol)) (define (stuff x) (match x [1 'one])) Because this really shouldn’t typecheck


samth
2022-7-9 04:51:31

I challenge you to produce an input for which that returns something other than a symbol. :slightly_smiling_face:


samth
2022-7-9 04:52:22

If the question is “why doesn’t match (or match + typed racket) do pattern exhaustiveness checking” then that’s always been the case, and it’s very hard.


matias
2022-7-9 05:01:37

fair enough :wink:


matias
2022-7-9 05:01:48

but yeah I was asking about the exhaustiveness checking


matias
2022-7-9 05:02:17

@samth at the risk of opening a can of worms, why is it hard?