Tim Whiting
Tim Whiting
I just realized enhanced enums were previously not supported. I don't know what NeoVim is using. Maybe their own fork. I just added parsing support.
Just checked the neovim-treesitter library, it seems to still be pointing to this repo, so I don't think enhanced enums should have been working previously.
I have also thought that this would be good. I think both libraries have good approaches, but for example the auth / core work has been duplicated, I'm not aware...
This is what the standard library documentation says: ```koka // Return the column-width of a unicode character. // Equivalent to ``wcwidth`` pub fun char/width( c : char ) : int...
Thanks for the link!
Great post. I'll have to look at the algorithm he references to improve Koka's clustering
Thanks! 🎉
I tried replicating part of the freezed code generator using the macro system, but got stuck here. Freezed uses a user defined factory constructor to generate a data class /...
The use case is enumerated data classes ```dart @freezed class EnumClass { factory EnumClass.data(String data) = EnumData; factory EnumClass.loading(int seconds) = EnumLoading; factory EnumClass.error(String err, StackTrace st) = EnumError; }...
Sometimes the user would like to have the name be different from the factory, something shorter usually, or occasionally without the name of the base class. Obviously this could be...