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

Change the decoder convention from decodeX to xDecoder #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rehno-lindeque
Copy link

The reason for this proposal is that a Decoder x is not a decode
function by itself. Instead, the true decode function looks something
like:

decodeX = decodeString xDecoder

The generated decoders also differ from the generated encode functions (which do encode values directly).

This change makes that distinction more clear, which I believe ought to aid with comprehension.

The reason for this proposal is that a `Decoder x` is not a decode
function by itself. Instead, the true decode function looks something
like:

    decodeX = decodeString xDecoder

This also differs from the generated encode functions that directly
encodes values.

This change makes that distinction more clear, which should aid
comprehension.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant