Can Nim be made more "purely functional""...

2022-06-17 Thread GordonBGood
@Akito: > I'm sure some of you already know the following video, but I still want to > share it, because I think it's a great video on exactly the aforementioned > aspect. Thanks for reminding us of this valuable video by the BDFL of the Closure programming language. The points made in the vid

Can Nim be made more "purely functional""...

2022-06-17 Thread GordonBGood
@chancyk: Thank you so much for your interest in this subject! > I think fundamentally it (Elm - GBG) does two things nicely, concise ADTs and > a helpful compiler. > > ... (on the first feature, ADT's, with which I concur - GBG) > > The second nice feature is that the compiler is very helpful

Can Nim be made more "purely functional""...

2022-06-17 Thread Akito
There have been many good points here regarding the essence of the topic. Thanks to everyone for contributing. It was a joy to read this discussion. I wanted to extend one specific part of the topic: what makes life easier in the long run. I'm sure some of you already know the following video,

Can Nim be made more "purely functional""...

2022-06-17 Thread chancyk
I'd be interested in talking more about this! Here's some thoughts... > I only propose forking Elm, re-enabling a couple of features that are > currently turned off, eventually having some form of type classes as an often > requested feature (and one the BDFL has been considering for about seven

how to switch nim version for vscode extension

2022-06-17 Thread severak
Now I have multiple version of nim on my windows machine and I am able to switch between them using `choosenim` or hadwritten `bat` files modifiying `PATH`. This works. However I wanted to switch nim version for [VSCode extension](https://marketplace.visualstudio.com/items?itemName=kosz78.nim)

Back to the roots of v2.. and what it could be

2022-06-17 Thread 12398890
My wish for v2 of Nim is "multi-threaded async dispatcher"

Back to the roots of v2.. and what it could be

2022-06-17 Thread xigoi
I bet that a half-decent conversion tool will cause fewer bugs than C++'s preprocessor. > While you're at it, you should make a browser extension that automatically > transforms all the old invalid Nim code on the web into Nim v2 I'm pretty sure the Nim compiler doesn't transpile to JS, so with

Back to the roots of v2.. and what it could be

2022-06-17 Thread sekao
> We could have Nimble automatically apply it on download to packages made for > the old version of the language. I do admire the self confidence that leads one to think that their source code transformer is 100% bug free and will never produce invalid code, making it safe to automatically appl