Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions rel8.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ library
exposed-modules:
Rel8
Rel8.Array
Rel8.Decoder
Rel8.Encoder
Rel8.Expr.Num
Rel8.Expr.Text
Rel8.Expr.Time
Expand Down
8 changes: 0 additions & 8 deletions src/Rel8.hs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ module Rel8
, mapTypeInformation
, parseTypeInformation

-- *** @Decoder@
, Decoder(..)

-- *** @Encoder@
, Encoder(..)

-- ** The @DBType@ hierarchy
, DBSemigroup(..)
, DBMonoid(..)
Expand Down Expand Up @@ -497,9 +491,7 @@ import Rel8.Table.Transpose
import Rel8.Table.Window
import Rel8.Type
import Rel8.Type.Composite
import Rel8.Type.Decoder
import Rel8.Type.Eq
import Rel8.Type.Encoder
import Rel8.Type.Enum
import Rel8.Type.Information
import Rel8.Type.JSONBEncoded
Expand Down
6 changes: 6 additions & 0 deletions src/Rel8/Decoder.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module Rel8.Decoder (
Decoder (..),
Parser,
parseDecoder,
) where
import Rel8.Type.Decoder
4 changes: 4 additions & 0 deletions src/Rel8/Encoder.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module Rel8.Encoder (
Encoder (..),
) where
import Rel8.Type.Encoder
1 change: 1 addition & 0 deletions src/Rel8/Type/Decoder.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{-# language DeriveFunctor #-}
{-# language NamedFieldPuns #-}
{-# language StandaloneKindSignatures #-}
{-# language DuplicateRecordFields #-}

module Rel8.Type.Decoder (
Decoder (..),
Expand Down
1 change: 1 addition & 0 deletions src/Rel8/Type/Encoder.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{-# language RecordWildCards #-}
{-# language StandaloneKindSignatures #-}
{-# language StrictData #-}
{-# language DuplicateRecordFields #-}

module Rel8.Type.Encoder (
Encoder (..),
Expand Down