PhotoLog19
  • rss feed
  • random
  • mobile
  • archive

→ 08 - 12 - 2009

Erlang Super Lite #3

ex2だけ予習した、ごめんなさい


%% ex2.erl
-module(ex2).
-compile(export_all).

create(N) ->
create_acc(N, []).

create_acc(N, L) ->
case N of
0 -> L;
_ -> create_acc(N-1,[N|L])
end.

reverse_create(N) ->
case N of

About

振り返れば、ほら

I follow

  • otsune
  • cycling-ex
  • mcsgsym
  • yaruo
  • suniti
  • sft
  • taknom
  • xyo
  • markie
  • lomo
  • oldfashionedbass
  • satojkovic
Theme by Guido Rossi. Powered by Tumblr