Racket

@racketlang
25 Followers
20 Following
62 Posts

Racket is...

• a programming language—a dialect of Lisp and a descendant of Scheme;

• a family of programming languages—variants of Racket, and more; or

• a set of tools—for using a family of programming languages.

Prefer rss? https://mastodon.social/@racketlang.rss

Sitehttps://racket-lang.org/
GitHubhttps://github.com/racket/racket
Downloadhttps://download.racket-lang.org/
Communityhttps://racket.discourse.group/

Racket meet-up Sat, 3 Jun 2023 at 18:00 UTC

This meet-up will be held at https://meet.jit.si/Racketmeet-up

Full details at https://racket.discourse.group/t/racket-meet-up-sat-3-jun-2023-at-18-00-utc/1935?u=spdegabrielle

ALL WELCOME

Jitsi Meet

Join a WebRTC video conference powered by the Jitsi Videobridge

Take a look
Download Racket

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

The best places to ask questions about Racket are [Discourse](https://racket.discourse.group)

https://racket.discourse.group/c/questions/6

and [Discord](https://discord.gg/6Zq8sH5)

All welcome 😁

Racket Discourse

A home for Racket discussions, questions, and announcements

Racket Discourse

Racket meet-up Saturday 6 May at 18:00 UTC

30 minutes but can overrun (it usually lasts ~1hr)
EVERYONE WELCOME 😁

This meet-up will be held at https://meet.jit.si/Racketmeet-up

Saturday 6 May at 18:00 UTC in your locations:
https://www.timeanddate.com/worldclock/converter.html?iso=20230506T180000&p1=tz_pt&p2=tz_mt&p3=tz_ct&p4=tz_et&p5=136&p6=204&p7=241

This is our first time using Jitsi Meet - we have tested it but if it doesn't work: #voice on the Racket Discord is the backup plan https://discord.gg/GHXS5hUuEB

Jitsi Meet

Join a WebRTC video conference powered by the Jitsi Videobridge

c(a|d)ⁿr

By Eutro
car, cdr, caaaaddddr, and everything in between.

(require cadnr) package: cadnr
c(a|d)ⁿr

This module extends a number of built-in Racket functions that have obvious arbitrary extensions.

Announcement: https://racket.discourse.group/t/c-a-d-r-car-cdr-caaaaddddr-and-everything-in-between/1876
(Discourse is an open source platform and the racket discourse does not track you or require a sign-in)

C(a|d)ⁿr - car, cdr, caaaaddddr, and everything in between

Am I getting this right - this is happening at macro expansion - extending the racket compiler handle arbitrary combinations? Am I right in assuming it be approximately as fast as the native functions at run time? Stephen

Racket Discussions