@angelmunoz content in the fediverse

Home
@khalidabuhakmeh@mastodon.socia...

This sounds outlandish, but it would be neat in ...

@This sounds...

This sounds outlandish, but it would be neat in #csharp if you could “name” Func variables and return values.

This would give tooling and developers an idea of what to expect when constructing a lambda. #dotnet

@khalidabuhakmeh@mastodon.social mildly related added to what you just mentioned I'd love to also be able to name parameters in F# function type signatures e.g. type MyFunc = name: string -> age: int -> Person currently you can only pass string and age only

I think that's another reason people don't use function type signatures often in any of the langs, what is string? what is int? it can be doc'stringed for sure but it would be nice to add that extra