tomohikoのブログ
2015年6月12日金曜日
[Elixir]リスト内要素を標準出力する
Enum.each()を使用し、リスト内要素を標準出力する。
iex(8)> Enum.each( ["I", "am", "tomohiko"], fn(x) -> IO.puts x end ) I am tomohiko :ok
0 件のコメント:
コメントを投稿
‹
›
ホーム
ウェブ バージョンを表示
0 件のコメント:
コメントを投稿