I want to map over the characters in a string, but I\'m getting runtime errors.
Example:
object Hello {
def hello(c: Char) {
print(c)
}
I think that your problem is that scala library is not in your runtime classpath. you must manually add manually.
If you are using tools like maven or sbt, maybe the dependency is marked as provided instead compiled.
If you are not using these tools, add "scala-library.jar" to your library directory