-
This issue is to track adding support for the following helper functions:
- [ ] bpf_fib_lookup
-
### Answers checklist.
- [X] I have read the documentation [ESP-IDF Programming Guide](https://docs.espressif.com/projects/esp-idf/en/latest/) and the issue is not addressed there.
- [X] I have updat…
-
### Code
I tried this code:
```rust
pub fn fibonacci_vec(fib:&mut [u8]) {
if fib.len() > 2 {
// The compiler now knows that `fib` is fixed-size
// and …
-
Below is a weird behavior of `Seq.memoize` wrt the interruption via Ctrl-C in the OCaml topelvel.
Consider the following interaction:
```
# open Seq;;
# let rec fib () = Cons (0, cons 1 (map2 (+) …
-
let rec fib n = if n
-
fib = lambda n: n if n
-
```sh
(base) canftin@DESKTOP-4QK14RE ~/workspace/codon_ws/codon/build> gdb -args codon run ../.vscode/debug/test_fib.py
GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git
Copyright …
-
## The question is: which versions of the libs are required?
I've tried to install things in "dumb user" way (in Ubuntu 12.04):
``` sh
sudo apt-get install clang llvm-dev python-llvm \
&& git clon…
-
As I wrote in #777 #778, there is a problem passing the first argument in AArch64.
The test result of running fibonacci example in both x86_64 and aarch64 is as follows.
**1. x86_64**
```
$ gcc …
-
There should be an operator that curries a function. Perhaps `~:`?
```
let add = ~: (x, y, z) -> x + y * z;
print(add(3)(4)(5)); // 23
```
A memoizing function/operator. E.g.:
```
let fib = memo…