Skip to content

Commit 2fcd4b2

Browse files
committed
Clean up imports and exports
1 parent f5d4d00 commit 2fcd4b2

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

src/Data/Argonaut/Decode/Generic.purs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
module Data.Argonaut.Decode.Generic where
1+
module Data.Argonaut.Decode.Generic (
2+
gDecodeJson,
3+
gDecodeJson'
4+
) where
25

36
import Prelude
47

5-
import Data.Argonaut.Core (Json, JArray, JObject, isNull, foldJsonNull, foldJsonBoolean, foldJsonNumber, foldJsonString, toArray, toNumber, toObject, toString, toBoolean)
8+
import Data.Argonaut.Core (Json, toArray, toBoolean, toNumber, toObject, toString)
69
import Data.Array (zipWithA)
710
import Data.Either (Either(..))
811
import Data.Foldable (find)
912
import Data.Generic (class Generic, GenericSpine(..), GenericSignature(..), fromSpine, toSignature)
1013
import Data.Int (fromNumber)
1114
import Data.Maybe (maybe, Maybe(..))
12-
import Data.String (charAt, toChar)
15+
import Data.String (toChar)
1316
import Data.StrMap as SM
1417
import Data.Traversable (traverse, for)
1518
import Type.Proxy (Proxy(..))

src/Data/Argonaut/Encode/Generic.purs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
module Data.Argonaut.Encode.Generic where
1+
module Data.Argonaut.Encode.Generic (
2+
gEncodeJson,
3+
gEncodeJson'
4+
) where
25

36
import Prelude
47

0 commit comments

Comments
 (0)