Alexander Wood

Results 18 comments of Alexander Wood

Hey apologies for the delay. This code is pretty outdated now but if you're still happy to take a look I'd appreciate it! https://github.com/ElaraLang/elara/blob/3de6a66f82a86a45726dc3b7aa1286bd7aaa6209/src/Elara/Parse/Declaration.hs

That is a good point, albeit Emacs Lisp is a fairly obscure language. .elr seems like a reasonable extension that isn't too annoying to type in something like VS Code

> In my opinion, with parentheses looks better, and people are more familiar with the parentheses Perhaps. I think it's mainly personal preference. On a similar note, what about this?...

Yeah I agree. As much as the current syntax is arguably clearer, the verbosity is going to be counter productive (especially considering that FP is all about small, repeatable functions)...

Well, in F# there's some pretty powerful type inference for parameters. If Elara doesn't support that, we could do ``` let square Int x = x * x ``` perhaps...

Or of course something like ``` let add a: Int, b: Int = a + b ``` But I think parameter type inference is definitely something we should consider

Thanks for your response! The `buildInputs` seems to have worked :) The weird thing is that I'm _not_ editing my cabal config manually. I wrote my entire config in Nix,...

I don't believe I had `alex` on the global `$PATH`, so yeah, Cabal is handling it. To be clear, `nix run`, even inside a devshell, requires the `buildInputs` to be...