Skip to content
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

Merged
merged 1 commit into from
Nov 19, 2018
Merged

Add Λnk README #1139

merged 1 commit into from
Nov 19, 2018

Conversation

Guardiola31337
Copy link
Contributor

  • Adds Λnk README

@codecov
Copy link

codecov bot commented Nov 19, 2018

Codecov Report

Merging #1139 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             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
Impacted Files Coverage Δ Complexity Δ
...tics/src/main/kotlin/arrow/optics/instances/map.kt 91.66% <0%> (+2.77%) 0% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f50dff7...b96dfee. Read the comment docs.

@pakoito pakoito merged commit eb5dbef into master Nov 19, 2018
@pakoito pakoito deleted the pg-ank-readme branch November 19, 2018 11:11
@pakoito
Copy link
Member

pakoito commented Nov 19, 2018

Amazing job :D


## Errors output

When something goes wrong Λnk shows what snippet has failed and where, including the compiler errors.
Copy link
Member

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.
Copy link
Member

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 justank`


| Modifier | Explanation |
|---|---|
| `:silent` | Suppresses output; under this modifier the input and output text are identical. |
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants