alantech / alan

Autoscalable Programming Language
https://alan-lang.org
MIT License
305 stars 10 forks source link

Implement generic functions (and random cleanup along the way) #772

Closed dfellis closed 2 months ago

dfellis commented 2 months ago

I'm not 100% liking this result, and since I've been working on it so long it's accumulated other random things, like improvements to the rust library updating logic, that probably should have been separate PRs, but I didn't want to do the work to disentangle it.

There's still some string-based typing in the depths of this codebase, and since I needed to change that string-based typing I touched a lot more files than I should have, but it is working and working faster than before.

Resolves #748

dfellis commented 2 months ago

Hmm... It seems the file locking behavior on Windows is different versus Linux/macOS, so I'll need to mess with that a bit to figure out how to get it working (which I really want to do because this locking improvement cuts the test time almost in half).