View Problem

Read the contents of a file into a string

ExpandDiskEdit
groovy
contents = file.text
ExpandDiskEdit
erlang
Text = readfile("Solution607.erl"),
ExpandDiskEdit
erlang
Text = readfile("Solution608.erl"),

Submit a new solution for groovy or erlang
There are 20 other solutions in additional languages (clojure, cpp, csharp, fantom ...)