project-m36
project-m36 copied to clipboard
improve developer ergonomics of Haskell script loading
@farzadbekran discovered that it is clunky to load lots of atom functions through the tutd console because it requires special quoting and only one function can be imported at-a-time. An improvement here would be to create some utility method to be able to load Haskell scripts from a file.
Also these problems:
- If you load functions in script form, you can't refer to and call other atom functions.
- You can't import any modules in script form and that really limits the usefulness of script loading.
I think the ideal solution would be to ditch the script loading altogether and load atom functions from object files, in a way that solves both of the problems above.