Aurélien Geron
Aurélien Geron
When I import `keras_core`, it imports TensorFlow even when I set the backend to jax or torch: ```python >>> import os >>> os.environ["KERAS_BACKEND"] = "jax" >>> import keras_core 2023-06-12 11:14:46.431809:...
To create a tree structure, I would like to be able to write: ```roc Tree : { name: Str, other: U64, children: List Tree} ``` Right now this fails because...
Ctrl-C currently exits the REPL. In virtually every other REPL, Ctrl-C just cancels the current command, it doesn't exit. This means that users will accidently close their ROC REPL and...
This PR makes sure the REPL ignores empty commands, including comment-only commands. This is useful if you want to give yourself some visual space by typing Enter several times. It's...
Working on some code with a recursive `Tree` type, the compiler crashes with the following error message (see below for the full stacktrace): ``` thread 'main' panicked at crates/compiler/load_internal/src/file.rs:685:26: way...
This code fails using `roc nightly pre-release, built from commit 9a4d556 on Mon Sep 9 09:02:33 UTC 2024`: ```roc app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.15.0/SlwdbJ-3GR7uBWQo6zlmYWNYOxnvo8r6YABXD-45UOw.tar.br", } import pf.Stdout inc =...
This code should reproduce the issue: ```roc app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.15.0/SlwdbJ-3GR7uBWQo6zlmYWNYOxnvo8r6YABXD-45UOw.tar.br", } import pf.Stdout main = emptyDict = Dict.empty {} Stdout.line! (Inspect.toStr emptyDict) ``` I get this error:...
The following code crashes the compiler: ```roc elemsApproxEq = \values, index1, index2 -> val1 = List.get? values index1 val2 = List.get? values index2 Ok (Num.isApproxEq val1 val2 {}) ``` The...
Putting an `import` statement inside an `expect` statement causes the compiler to crash. I'm using the latest Roc release: ```bash $ roc version roc nightly pre-release, built from commit faeea52...
The Roc Language Server seems to have gone rogue, all of a sudden. It's the first time this happens, and I don't know how to provide any useful information to...