Greetings.
I define a custom exception:
(define-struct (my-exception exn:fail) ())
(define (my-error fmt . args)
(let ((msg (apply format (cons fmt args
(raise (my-exception msg (current-continuation-marks)
The plan is that I can throw this within a servlet,
I wrote a little flashcard program in Racket to help myself learn Czech
vocabulary (here: https://github.com/rmculpepper/racket-jazyk), and when
run on a Mac it uses `say` for audio. IIRC, I had to install extra "voice"
packages for Czech, but that consisted of clicking a few buttons in
Settings.
Hi Racket+NixOS-heads out there,
I was trying to use `raco setup --fix-pkg-deps` to get the dependencies of
my package automatically fixed, but it would fail with a lot of "cannot
delete file" errors. That's because `raco setup --fix-pkg-deps` looks at
all packages, including the system-wide
I'm on the search for a new programming language to learn, so I thought I'd
check out Racket, but I'm having a hard time trying to do a very common
task that would make Racket practical for my use at work:
- Make a series of HTTP requests to an API that returns JSON responses
- Reuse the
Stephen De Gabrielle and I are wondering if any Mac or Linux users
have similar short programs to make their computer talk.
https://www.reddit.com/r/Racket/comments/gkz3yi/make_your_computer_talk_in_racket_on_windows_in_5/
Cheers,
Sam
->8->8-
#lang racket/base
(require ffi/com)
On Mac, there’s a say command, so this would do it.
(system "say \"hello world\"")
When I had a Linux machine, I recalled using a command named espeak, which
is similar to say on Mac.
On Sat, May 16, 2020 at 11:15 AM Sam Phillips
wrote:
> Stephen De Gabrielle and I are wondering if any Mac or
At Sat, 16 May 2020 17:21:28 +0200, Dominik Pantůček wrote:
> after pushing futures on x86 and x86_64 to their limits (and helping
> fixing two bugs), I turned my focus on ARM. Apparently everything should
> work with 32bit arm without any hurdles (I am going to test that later
> today),
Futures
Thats awesome! Thanks for the updated version. (I note the original was
form 2011!)
s.
On Saturday, May 16, 2020 at 6:55:05 AM UTC+1, Marcio Andrey Oliveira wrote:
>
> The original article can be found here:
> https://www.wisdomandwonder.com/link/5656/portable-racket-for-windows-users
> .
>
>
Hello fellow racketeers,
after pushing futures on x86 and x86_64 to their limits (and helping
fixing two bugs), I turned my focus on ARM. Apparently everything should
work with 32bit arm without any hurdles (I am going to test that later
today), however on aarch64 (64bit arm), there is no JIT and
9 matches
Mail list logo