5 ms·
Haven’t written any serious Haskell, but doesn’t Hoogle work for searching infix operators? One thing I really like about Haskell is Hoogle. The ability to sea
by fphilipe 6y ago
Haven’t written any serious Haskell, but doesn’t Hoogle work for searching infix operators?
One thing I really like about Haskell is Hoogle. The ability to search by function signature is great. I often wish I could do that in other languages.
- awinter-py 6y agosearched `->` got (->-) :: Bind m => (a -> m b) -> (b -> m c) -> a -> m c semigroupoids Data.Functor.Bind
- mrkeen 6y agoFair enough. `->` is core syntax, not a library function. It means `->` if you're a Java guy or `=>` if you're a Scala guy. Just search for it the same as you'd search for it in Java or Scala.
- awinter-py 6y agoI'm open to the argument that my imperative / scripting background in some way primes me to learn rails but makes it hard for me to navigate a haskell codebase, and that this is human difference rather than one language being inherently more navigable than the other