-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Use annotated Haskell modules as notebook format #28
Labels
Comments
Since there a notebook is not a bona fide Haskell module, I do not think that it makes sense to use plain This would be very similar to, e.g. R Markdown. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently hyper-haskell uses a custom JSON format for its notebooks.
What about to also support loading Haskell modules, i.e. parsing LANGUAGE pragmas, import statements and top-level definitions? It would simplify to switch between hyper-haskell and GHCi.
A problem would be that the user might expect that all module information and even formatting is maintained when hyper-haskell writes back an edited module. Also there must be a way to store cell inputs like this one:
The text was updated successfully, but these errors were encountered: