Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve developer ergonomics of Haskell script loading #320

Open
agentm opened this issue Oct 29, 2021 · 1 comment
Open

improve developer ergonomics of Haskell script loading #320

agentm opened this issue Oct 29, 2021 · 1 comment
Assignees

Comments

@agentm
Copy link
Owner

agentm commented Oct 29, 2021

@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 agentm self-assigned this Oct 29, 2021
@farzadbekran
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants