Follow

Hoogle is amazing.

Still slowly working on Advent of Code 2022, and learning Haskell along the way. As with most languages, a lot of the learning is getting to know the libraries.

I keep being amazed at how effective Hoogle is. It lets you search for a library function by looking for its type signature. I was about to write a combination of map/fold, but found "mapAccumL" right away with Hoogle. Yay!

@bwbeach I agree Hoogle is amazing, but I wonder if over use means that newcomers to Haskell won't gain facility with the basics because they will often find a library that does the work for them? OTOH if you can write a type signature for Hoogle, that demonstrates some understanding of the problem you are trying to solve. I'm not sure. WDYT?

@underlap I agree that learning how to write recursive functions that deal with lists is important for learning how Haskell works. Not sure that needs to come before learning the higher-level functions that process lists.

For myself, I'm totally comfortable with lists and recursion, having done a lot of Prolog and Lisp programming in my earlier days.

@bwbeach Yeah, makes sense. I think it's different for people learning functional programming without any background.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.