News for hackers. Stuff that matters.
Re:What Color Is Your Monad by amelius on Wednesday February 16, 2022 @11:20AM (#30361940)
Can we have an editor which uses display colors based on what color a function is? Or monad, of course.
Re:What Color Is Your Monad by eyelidlessness on Wednesday February 16, 2022 @12:51PM (#30363192)
I think this would probably be trivial with TextMate themes (used by VSCode, Sublime, and lots of other editors). If not, certainly it’s possible with a quick tree-sitter query. The latter also presents a wildly expansive set of options for specialized static analysis (eg I built a naive TypeScript “compiler” with it in about a day).