project-m36 icon indicating copy to clipboard operation
project-m36 copied to clipboard

improve developer ergonomics of Haskell script loading

Open agentm opened this issue 4 years ago • 1 comments

@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.

agentm avatar Oct 29 '21 20:10 agentm

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.

farzadbekran avatar Oct 29 '21 21:10 farzadbekran