-module(helloworld). -export([for/2,start/0]). for(0,_) -> []; for(N,Term) when N > 0 -> io:fwrite("Hello~n"), [Term|for(N-1,Term)]. start() -> for(5,1).
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more