SuperpowersCorp / refactorio

Refactorio is a tool with which you build and maintain software.
BSD 3-Clause "New" or "Revised" License
19 stars 0 forks source link

Per SpecialMode pre/post adapter fns #12

Open lgastako opened 6 years ago

lgastako commented 6 years ago

eg. so something like _1._Module is pre-applied in --haskell mode, and maybe _1 or _2 (end or target) are post-applied.

lgastako commented 6 years ago

In an ideal world these would be defined in the individual Preludes... but then how do we communicate that they are there... is a dynamic check fast enough? If not, what are good alternatives?

lgastako commented 6 years ago

hint's getModuleExports if we force the prelude to be loaded modules instead?

lgastako commented 6 years ago

https://hackage.haskell.org/package/hint-0.8.0/docs/Language-Haskell-Interpreter-Unsafe.html#v:unsafeRunInterpreterWithArgsLibdir will at least let us point their refactorio install at a different installation.

Maybe I can track down an existing project with similar issues and see how they solved it?