On 16/11/2007, Yoshiki Ohshima <yoshiki at vpri.org> wrote: > Luke posted a solution but that looks, err, brute-force^^; It's the natural way that any Erlang programmer would write it. :-)