Retourner au contenu associé (dépêche : Sortie de Rust en version 0.3)
Posté par spider-mario le 24 juillet 2012 à 01:31. En réponse à la dépêche Sortie de Rust en version 0.3. Évalué à 6.
(Juste pour information.)
Perl 6 :
sub factorielle(Int $n) returns Int { return [*] 2 .. $n; }
Haskell :
factorielle n = product [2 .. n]
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
[^] # Re: explications?
Posté par spider-mario . En réponse à la dépêche Sortie de Rust en version 0.3. Évalué à 6.
(Juste pour information.)
Perl 6 :
Haskell :