[Haskell-cafe] Design of an extensible system

Joachim Durchholz jo at durchholz.org
Tue Jul 24 19:20:16 UTC 2018


Am 24.07.2018 um 08:07 schrieb Marc Busqué:
>  But, what
> about extensibility? Take for example the Pandoc package, which would be
> similar in design of what I'm trying to do. Say I want to add a
> converter to some mark-up format not supported by Pandoc, and that
> Pandoc team doesn't agree to merge my work in its repo or simply I don't
> have the time to wait until it happens.

You fork Pandoc and add the code you need.
Then you put your extension into a public source repository so that 
others can share your work.
And you ask the Pandoc developers to make their code friendly for extension.

I.e. you do the plugins at the source code level, not at the binary level.


More information about the Haskell-Cafe mailing list