Category Archives: erlang

rough cut: erlang code coverage with rake

Here’s a quick, ugly version of how to get erlang code coverage using rake. This is a rough first draft and the gist below doesn’t include all the needed dependencies. To see the rest of the Rakefile, checkout skelerl.
Posted in erlang | Leave a comment

Ruby’s #each_with_index for Erlang

Ruby has a great method for enumerations called #each_with_index. It’s a handy way to iterate over a list of elements and and know where you’re at while doing it. Erlang has a group of highly optimized list operations in the lists module (Try erl -man lists to see them all). We’re going to be using [...]
Posted in erlang | Tagged | 2 Comments