-module(n). -export([m/0]). m()->[io:write(f(N))||N<-lists:seq(0,255)]. f(0)->0;f(N)->1+f(N band(N-1)).
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page