Why isn't haskell-stack simply named stack? It's easier to search and install that way.
Because "stack" was considered too generic when the formula was named.
Should it be renamed now as there are no other formulas named stack?
Does it change your opinion at all given their domain is haskellstack.org ?
Nope! stack.org is taken, probably that's why. They call it The Haskell Tool Stack.
Let's see what other people think as well.
CC @Homebrew/maintainers for thoughts.
Debian calls it Haskell Stack, their website is haskellstack and it's not in the first page of Google results for either "Stack" or "Stack Software" for me. 👎 from me.
To make the counter-argument: I cannot tell you how many times I've typed brew install stack, the basename of the repository on GitHub is stack, all of the documentation refers to it as "Stack" and it is colloquially referred to as such.
it's not in the first page of Google results for either "Stack" or "Stack Software" for me
For me, in a private browsing session, both hakellstack.org and https://github.com/commercialhaskell/stack are on the first page for a search for "stack."
@ilovezfs likewise for me. I believe that the formula name should be the same as main executable that brew installs, to prevent confusion. 😸
I like haskell-stack.
brew search haskell, which I think is very valuable. If you're new to Haskell and trying to install the stack, it's very possible that you'll search for Haskell and not find anything, or that you'll see a formula just called "stack" and not be immediately sure if that's what you want. "haskell-stack" is completely unambiguous, and it's much less trouble for someone who knows they want Stack to try running "brew install stack", have it not work, do a quick search for stack and see the "Haskell-stack" formula than it is the other way around.@xeoneux side note: for a nice easy way to look up formulae by the names of their executables, check out homebrew-command-not-found
I'd be fine with an alias.
@alyssais brew search haskell could show similar output like brew search clojure does.
Which shows:
If you meant "clojure" specifically:
Clojure isn't really a program but a library managed as part of a
project and Leiningen is the user interface to that library.
To install Clojure you should install Leiningen:
brew install leiningen
and then follow the tutorial:
https://github.com/technomancy/leiningen/blob/stable/doc/TUTORIAL.md
This would be more informative for new users than simply showing up haskell-stack in search results.
@alyssais regarding search: that's why we have --desc.
@ilovezfs TIL xD
An alias would be okay, I think.
@alyssais RTFM or go home!
Seems everyone is OK with an alias. @xeoneux is that sufficient for you to be :smiley:
Yup! @ilovezfs that would be great. 😸
@xeoneux Done: https://github.com/Homebrew/homebrew-core/pull/12639.
Thanks @ilovezfs
you're welcome
Most helpful comment
I'd be fine with an alias.