chshersh / iris

🌈 Haskell CLI Framework supporting Command Line Interface Guidelines
https://hackage.haskell.org/package/iris
Mozilla Public License 2.0
176 stars 21 forks source link

Haddock all the things! #27

Open chshersh opened 2 years ago

chshersh commented 2 years ago

Lots of functions are missing the documentation. It would be great to add more!

This issue is an excellent way to start contributing to Iris 🤗

See a function that doesn't have a proper explanation? Feel free to add it and it would be especially great if you can add a doctest example! 👏🏻

You can document as many functions as you want in a single PR, or you can open multiple PRs. This issue is a call for contributors 😊

The following documentation changes are especially appreciated:

image

InfiniteVerma commented 1 year ago

I'd like to work on this.

chshersh commented 1 year ago

@InfiniteVerma go for it! 👍🏻

Note, that you don't need to document everything in a single PR. You can document only some bits. Every contribution helps the project 😌

InfiniteVerma commented 1 year ago

@chshersh I'm attempting to add a doctest to a function. I would like to know if one can test a function that returns IO.

chshersh commented 1 year ago

@InfiniteVerma You can test IO functions as well with doctest. The official documentation has an example: