Skip to content

Commit 01e52a3

Browse files
committed
Change README
1 parent 1a6a3b2 commit 01e52a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ derive instance Generic Sample _
159159
A simple codec for `Sample` can be created like this in a type safe way:
160160

161161
```purescript
162+
import Data.Codec.Argonaut (sum, sumWith)
163+
162164
codecSample ∷ JsonCodec Sample
163165
codecSample = sum "Sample"
164166
{ "Foo": unit

0 commit comments

Comments
 (0)