4 ms·
Do you use many 3rd party libraries? How do you learn to use them? The one thing stopping me from using Haskell for real work is that nothing in the library e
by mac01021 6y ago
Do you use many 3rd party libraries? How do you learn to use them?
The one thing stopping me from using Haskell for real work is that nothing in the library ecosystem seems to have a users manual.
- seanparsons 6y agoWhat? I've worked in a whole bunch of languages and I tend to find that Haskell is the easiest on this front. Hackage has all the definitions for packages cross linking to each other.
- kreetx 6y agoIn what area would you like to program in? At least on the types-are-documentation front, I find that really helpful - just see what you have, what you want, and then find a way from one to the other. In JavaScript on the other hand it's hard to tell what the structure of some object needs to be.
- alexmingoia 6y agoMany libraries lack tutorials because the type definitions are self explanatory. For example, I’ve been doing a lot of web stuff lately and here’s a package I used for working with URIs: https://hackage.haskell.org/package/modern-uri-0.3.3.0/docs/Text-URI.html https://hackage.haskell.org/package/modern-uri-0.3.3.0/docs/... Everything I need to work with is there in the type definitions.
- cute_boi 6y agoexactly this is the beauty of types. Types can serve as documentation. This is also one reason why I love rust docs.