pandoc has HALF A GIGABYTE of dependencies. Choose better doc generators, dammit
@sir no u
@sir true, for end user software. It's insanely good at specific things, like building parsers (parsec), but yeah the bloat is to much to swallow for most situations.
Also, pandoc is a beast with support for almost every widely used document path. This is less a problem with Haskell, and more a problem with using a less featureful doc generator like haddock, which is actually the standard tool used for GHC and supported by Hoogle. Actually, pandoc isn't even a documentation generator but rather a document converter, so I'd imagine that haddock is still used to generate the docs and then pandoc to produce PDFs or something, in which case it *should* be an optional dependency.
@sir Closely related language Idris looks better than Haskell if we are talking about practicalities like executables size etc.
It may be somewhere between C and Go in this regard.
And it is striving to become systems language eventually.
I believe it is as capable of parsing tasks as Haskell without crazy overhead (MB-sized helloworld) of ghc.
@lanodan 595 MiB. Why does that make pandoc good?
@lanodan but if your goal is to generate man pages, you use maybe 10 MiB of this crap at best. It's like sending your mate a letter as the only cargo on a giant shipping vessel
@lanodan no one said you should use LibreOffice to generate docs, stop bringing it up
@lanodan you've completely lost me. Or lost it
@sir I get node_modules feel from this. Using a package for one or two functions because DRY. Can't understand why people do this
@sir One of the saddest things of the free software ecosystem
You can always download the prebuilt binary. For eg. Using conda or check archlinux aur for pandoc-bin.
@sir Yeah, because you're using arch which for some stupid fucking reason makes Haskell use dynamic linking (which has always been recommended against). Use a distro with statically linked Haskell packages (read: pretty much anything other than Arch, which is a shitshow)
@j the only other distro I care about doesn't even bother packaging Haskell
@sir I'm assuming Alpine? I'm surprised they don't package it. It's not a musl problem, seeing as void has pandoc for x86_64 on musl as well as glibc (where the pandoc package is only 30M, with very little/no dependencies).
So yeah, don't shit on pandoc, which is a great piece of software. It's entirely the arch maintainers' fault.
@j "only" 30M, huh? scdoc is 70 KiB
@j I _do_ have to compile shit myself a lot, you know. The problems being someone else's problems don't excuse the language/tools problems, especially when I'm someone else
@sir Pandoc is a little bit more than just a man-page generator.
@sir I'm guessing the *TeX dependencies make up most of it. You could always use groff or one of those web-based pdf genereators if that's what you want.
On debian at least the it's just over 117MB.
@sir Maybe two or more years ago, most of these dependencies were listed as `makedepends`. Somewhen someone decided, it'd be a good idea to put them into `depends`, so pandoc grew thank to its Haskell dependencies to approx. 750 MB to install back then.
AUR has the package pandoc-bin since then, which is just repackaging Debian's pandoc package.
cmpwn.com is a private Mastodon instance for friends of SirCmpwn.