6 search resultsShowing 1~6 results

Stocked

Rustのfold

ふつうの関数型言語の感覚でfoldすると、参照で詰む。 例題として、任意個の整数の最大公約数の計算を考える。 誤ったコード fn gcd(a: u32, b: u32) -> u32 { ...

8
3
Comment1

6 search resultsShowing 1~6 results

Qiita is a knowledge sharing service for engineers.

  1. You can follow users and tags
  2. You can stock useful information
  3. You can make edit suggestions for articles
Functions that can be used after logging in