Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>Hoogle is available from the command line.

Hoogle is roughly the equivalent. It doesn't come with ghc though, and the rather lengthy dependency list has caused problems getting it installed before. Is there a command line only version that doesn't need all the web stuff?

>Did you try -optl-static?

Yeah, no such luck. It turns out go can't do this either though, so that one shouldn't have been on the list in the first place.

>There are tools to format Haskell code by certain conventions on hackage.

The "being included with the compiler" aspect is pretty big here. People are much more likely to format their code if they already have the tool to do it. I'm not sure what you mean by tools available on hackage though. Stylish-haskell is about it, and all it does is align and sort imports/pragmas. Gofmt can basically rewrite go code however you want it to. Sort of like if hlint were built in to stylish haskell and did the replacements instead of suggesting them.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: