The fat arrow is a great helper and saves a lot of work in various situations....obviously it doesn't cover all situations...but in the situations it doen't cover I'm not sure what I'd expect the language to do.
Could you give an example of what you imagine the feature to be?
I'm just not sure if something as simple and easy as
that = @
needs improvement. Anything beyond what that and => covers, to me seems like something a library should handle...and CS makes that very easy.
For you second one, what about
do ( -> whatever x ) for x in foobar
One of the things I like about CS is that it is very conservative about not adding helpers for every little thing you can think of. It chooses a few very powerful and fundamental building blocks, and let's you use those to build up yourself.
The fat arrow is a great helper and saves a lot of work in various situations....obviously it doesn't cover all situations...but in the situations it doen't cover I'm not sure what I'd expect the language to do.
Could you give an example of what you imagine the feature to be?
I'm just not sure if something as simple and easy as
needs improvement. Anything beyond what that and => covers, to me seems like something a library should handle...and CS makes that very easy.For you second one, what about
One of the things I like about CS is that it is very conservative about not adding helpers for every little thing you can think of. It chooses a few very powerful and fundamental building blocks, and let's you use those to build up yourself.I can respect some people wanting more though.