-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Λnk README #1139
Add Λnk README #1139
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1139 +/- ##
============================================
+ Coverage 42.75% 42.76% +<.01%
Complexity 813 813
============================================
Files 400 400
Lines 11005 11005
Branches 1256 1256
============================================
+ Hits 4705 4706 +1
Misses 5932 5932
+ Partials 368 367 -1
Continue to review full report at Codecov.
|
Amazing job :D |
|
||
## Errors output | ||
|
||
When something goes wrong Λnk shows what snippet has failed and where, including the compiler errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably show an example with a snippet that fails and how ank reports it.
|
||
## Modifiers | ||
|
||
By default Λnk compiles and evaluates the snippets of code included in `ank` sheds. However sometimes you might want a definition without printing the result out, or might want to replace an entire snippet with the output of the resulting evaluation. For these occasions Λnk provides a number of modifiers that you can add to the shed declaration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would use ````kotlin:ank:*fences instead of just
ank`
|
||
| Modifier | Explanation | | ||
|---|---| | ||
| `:silent` | Suppresses output; under this modifier the input and output text are identical. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should provide an example for each one of these.
README