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

Arguments not aligned with type applications #493

Closed
nc6 opened this issue Jan 10, 2020 · 0 comments · Fixed by #494
Closed

Arguments not aligned with type applications #493

nc6 opened this issue Jan 10, 2020 · 0 comments · Fixed by #494
Labels
style Nitpicking and things related to purely visual aspect for formatting.

Comments

@nc6
Copy link
Member

nc6 commented Jan 10, 2020

      GenesisHash ->
        HashHeader
          . coerce
          $ hash
            @(HASH TPraosStandardCrypto)
            @ByteString
          "And the lamb lies down on Broadway"

Note the alignment of the final string - it's aligned with $ rather than with the type applications. Compare if we remove the applications:

      GenesisHash ->
        HashHeader
          . coerce
          $ hash
            -- @(HASH TPraosStandardCrypto)
            -- @ByteString
            "And the lamb lies down on Broadway"

Now the string is indented one stop further, as we would expect for an argument to hash.

@nc6 nc6 added bug Something isn't working invalid This doesn't seem right peculiar Peculiar cases that are ideally should work but in practice are low-priority for us right now. and removed bug Something isn't working peculiar Peculiar cases that are ideally should work but in practice are low-priority for us right now. labels Jan 10, 2020
@mrkkrp mrkkrp added style Nitpicking and things related to purely visual aspect for formatting. and removed invalid This doesn't seem right labels Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
style Nitpicking and things related to purely visual aspect for formatting.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants