/c/ympfh

Results 10 issues of /c/ympfh

008-loop.md の一番最後の factorial 関数の例ですが、 > このコードは末尾再帰になっている。 とありますが、なってないように見えます。 私の知ってる末尾再帰は次のようなものです。 ```cpp int factorial(int n, int acc=1) { if (n int factorial_loop(int n) { int acc = 1; while (true) { if (n

I'm using Python 3.6.8 and tried SepNMF. (I know that this is tested not on 3.6.8) Then I got `KeyError: ` by following code: ```python import nimfa model = nimfa.SepNmf(X_uw)...

I dont have another idea to pass doctests.

```rust let arr = [1,2,3]; arr[1] ```

enhancement

```rust struct X { x: Int, } let data = X(42); data.x ```

enhancement

To implement (type-safe) If-statement, the followings may need. - Type inferred functions. - Functions have types of arguments, but don't know the type of output. - To investigate the type...

This is ok in v0.9.10. ```rust struct S { value: Any } [S(0), S("HOGE")] ```

I require that ``` hcl> (+) 0 ``` But this occurs an error. Likewise `(*)` must be 1.