Type arguments and parameters changed to streams in type definition

https://github.com/kfgodel/diamond/issues/45