... | ... | @@ -114,4 +114,7 @@ There follow some notes about desirable refactorings, mainly around [compiler/ma |
|
|
- API functions no longer need to pass around sessions explicitly. The single-threaded usage of a session is enforced.
|
|
|
- More error information than a simple `Nothing`.
|
|
|
- Errors can be handled in one place rather than case matching after each API call
|
|
|
- ToDo: evaluate role of `log_action` |
|
|
\ No newline at end of file |
|
|
- ToDo: evaluate role of `log_action`
|
|
|
- Functions that previously worked on a `Session` are now in `Ghc`. `newSession` is now `withGhc` which is the exported run function for the `Ghc` monad.
|
|
|
- `parseStaticFlags` has been removed, the functionality is now integrated with `withGhc`. Before users had to be really careful in what order to call functions.
|
|
|
- ATM, most things that import `GHC.hs` are broken due to the monadification. |