dispatch - Julia-style multiple dispatch in Racket

“Multiple dispatch is the ability to define multiple implementations of a function, chosen at runtime based on the arguments to each call. The dispatch package brings this to Racket, allowing lexically separate but associated definitions: https://racket.discourse.group/t/julia-style-multiple-dispatch/1936?u=spdegabrielle

@a11ce #Julia #RacketLang #RacketLanguage #Racket

Julia-style multiple dispatch

Multiple dispatch is the ability to define multiple implementations of a function, chosen at runtime based on the arguments to each call. The dispatch package brings this to Racket, allowing lexically separate but associated definitions: (define/dispatch (add [l1 list?] [l2 list?]) (append l1 l2)) (define/dispatch (add [n1 number?] [n2 number?]) (+ n1 n2)) > (add 1 2) 3 > (add '(one two) '(three four)) '(one two three four) Source is here, any ...

Racket Discussions

One unexpected outcome of the rise of the #LLM #AI we're seeing today might be the death of #Search as the primary interface to the world wide web.

Not just for the obvious "AI is better" reason, but more fundamentally because whilst most sites were happy with the scraping of their data for search reasons, many are deeply uncomfortable with it being used for training.

I think robots.txt and noindex are blunt #tools right now.

Hmm, dunno how I made this a reply to the Racket post. User error I presume. All due apologies @racketlang