無差別に技術をついばむ鳥

情報処理技術全般を気まぐれにつつくゆるいブログです

OCamlをつつく0.1ー基礎も大事。はじめましてOCaml。

インドリ「hello OCaml。君はフランス人なんだって?。」

let hello max = 
  let rec iter count = 
    if count < max then begin
        if count = 0 then Printf.printf "hello indre\n";
        print_int count;
        print_string "\t";
        iter ( count + 1 )
    end
    in
    iter 0;;

hello 10;;
Printf.printf "good-by";;
別窓 | OCaml | コメント:0 | トラックバック:0 | ∧top | under∨
<<F#をつつく0−ずっと狙っていた獲物。 | 無差別に技術をついばむ鳥 | OCamlをつつく0-美味そうな言語発見!>>

この記事のコメント

∧top | under∨

コメントの投稿

 

管理者だけに閲覧
 

この記事のトラックバック

∧top | under∨
| 無差別に技術をついばむ鳥 |