-
Convert code into typescript
-
I'm working through current benchmarks and ran across one that fails to compile with inlining enabled:
```
(coalton-toplevel
(declare fib (Integer -> Integer))
(define (fib n)
(when (==…
-
## readme
那為什麼需要 nvm 跟 npm 呢?
第一週作業的回饋時有提到,要練習更深入一點的思考,所以要請你試試看回答,那為什麼需要 nvm 跟 npm 這樣的工具?
## sum
以用 js 的 array 來完成這點來說,你用了 reduce, forEach, eval + join,你覺得哪一種比較合適?
## fib
這邊前面兩個 if 是…
-
```lisp
(fn fib (n)
(if (or (= n 0) (= n 1))
n
(+ (fib (- n 1)) (fib (- n 2)))))
(fn main () (print (fib 30) "\n"))
```
this code runs in about `0.6` of a second that includes t…
-
### Assurance
I have read the `README.md`
### Summary
Implement the concept of a burner phone for FIB, the ability to create a fake number, additional numbers, temporary numbers idk. However …
-
When starting with a clean `target` folder and on the current `main` branch (`fbce798a53967310463ee02e0e681617781406df`) the miden binary built with `make exec` always errors out when passing the `std…
-
## readme
ok, but 有想過為什麼需要 nvm, npm 這樣的工具嗎?
然後,上週上課有提過,這不是引言的用法,對吧?
## sum
以用 js array 完成 sum 這題來說,你用了 reduce 及 slice + recursive,撇除 recursive,為什麼用 reduce?有其他函式可以用嗎?哪個比較恰當?
coding style…
-
### Bug description
As title.
### Steps to reproduce
```mojo
fn fib(n: Int) -> Int:
@parameter
fn fib_tail(n: Int, a: Int, b: Int) -> Int:
if n < 1:
return 0
elif n ==…
-
https://github.com/cilium/cilium/pull/27622 lifted a limitation that requires Cilium-managed native devices (where `bpf_host` is attached) to have an ifindex = 5.10. But the [relevant patch](https://g…
-
Tarantool version: 3.0.2
Context is provided to @sergepetrenko
Repro: https://gist.github.com/ochaton/21ffce3128a1f52b1e3b34cdc9e5be90
TLDR:
This code is evaluated correctly
```lua
loca…