jckarter/clay — pull request #474 by stepancheg (2013-01-10 20:00:36+00:00)
Title: drop Function, rename FunctionBody -> Function

If someone needs Function to be refcounted, Function can be explicitly
wrapped in sharedpointer, like this:

```
var functionPtr = new(Function((x: Int) -> x * 2));
var thirtyFour = functionPtr^(17);
```

Note that sharedpointers are not thread-safe (thus Function weren't
thread-safe until this patch), so simple function copying could
cause memory problems.