diff --git a/Codec.md b/Codec.md index 0656973e..6ba988e2 100644 --- a/Codec.md +++ b/Codec.md @@ -38,7 +38,7 @@ const decoder: D.Decoder = pipe( }) ) -const encoder: E.Encoder = { +const encoder: E.Encoder = { encode: String } diff --git a/Decoder.md b/Decoder.md index c4ef3acb..cf439b67 100644 --- a/Decoder.md +++ b/Decoder.md @@ -329,7 +329,7 @@ console.log(isRight(Positive.decode(-1))) // => false ## The `parse` combinator -The `parse` combinator is more powerful than `refine` in that you can change the output type +The `parse` combinator is more powerful than `refine` in that you can change the output value ```ts import { pipe } from 'fp-ts/function'