I don’t understand its plugin mechanism either (yet), but it seems to involve the GHC API for loading Haskell (compiled on the fly) modules at run-time, and running them.
The problem is that the linker isn’t told where the heck you squirreled away gait’s modules, so can’t link to them. I don’t understand either gitit’s source code or stack’s philosophy/intent, so have no idea what the correct solution is. — Perry > On Oct 17, 2017, at 1:52 AM, Michael Snoyman <[email protected]> > wrote: > > I can't speak for others, but from this email I don't understand what the > question is. I'm personally not familiar with the plugin mechanism provided > by Gitit. Perhaps you can provide a little more detail? > > On Sat, Oct 14, 2017 at 3:25 AM, Perry Wagle <[email protected] > <mailto:[email protected]>> wrote: > Gitit is a wiki written in GHC/Haskell. It supports plugins. To do this is > provides a library of modules that the plugins then import. > > But, the "exposed-modules" are hidden away in a obscure directory, where they > can't be found. > > What's the correct solution? > > Thanks! > > -- Perry > > -- > You received this message because you are subscribed to the Google Groups > "haskell-stack" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/haskell-stack/f8c0922c-803a-45fc-a129-d1e4211c5f04%40googlegroups.com > > <https://groups.google.com/d/msgid/haskell-stack/f8c0922c-803a-45fc-a129-d1e4211c5f04%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > -- You received this message because you are subscribed to the Google Groups "haskell-stack" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/4A3839FF-D3EC-430F-A82F-86B6009FDB02%40gmail.com. For more options, visit https://groups.google.com/d/optout.
