Type arguments and parameters changed to streams in type definition

https://github.com/kfgodel/diamond/issues/45
Merge pull request #49 from kfgodel/45-type_arguments_and_parameters_as_streams

Type arguments and parameters changed to streams in type definition