9 ms·
Many 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
by alexmingoia 6y ago
Many 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.