NFun
NFun copied to clipboard
Allow to add client-type
client type:
- It has alias
- it can be converted to any
- it has "to text" operation
- has default non null value (or has new() constructor)
Funny.WithCustomType<SomeCustomType>("my_type", new SomeCustomType())
a: my_type = if(true) input else default