Fields as functions

https://github.com/kfgodel/diamond/issues/102
Merge pull request #107 from kfgodel/102-type_field_as_functions

Fields as functions