refactoring: move Servant.Text to Servant.Utils.Text
This commit is contained in:
parent
e7711a3c17
commit
71de673df2
5 changed files with 6 additions and 6 deletions
|
@ -18,7 +18,6 @@ library
|
|||
Servant.Client
|
||||
Servant.Docs
|
||||
Servant.Server
|
||||
Servant.Text
|
||||
Servant.API
|
||||
Servant.API.Capture
|
||||
Servant.API.Delete
|
||||
|
@ -30,6 +29,7 @@ library
|
|||
Servant.API.RQBody
|
||||
Servant.API.Sub
|
||||
Servant.API.Union
|
||||
Servant.Utils.Text
|
||||
-- other-modules:
|
||||
-- other-extensions:
|
||||
build-depends:
|
||||
|
|
|
@ -10,11 +10,11 @@ module Servant (
|
|||
-- | For generating documentation for servant APIs.
|
||||
module Servant.Docs,
|
||||
-- | Helper module
|
||||
module Servant.Text,
|
||||
module Servant.Utils.Text,
|
||||
) where
|
||||
|
||||
import Servant.API
|
||||
import Servant.Client
|
||||
import Servant.Docs
|
||||
import Servant.Server
|
||||
import Servant.Text
|
||||
import Servant.Utils.Text
|
||||
|
|
|
@ -14,7 +14,7 @@ import Servant.API.Sub
|
|||
import Servant.Client
|
||||
import Servant.Docs
|
||||
import Servant.Server
|
||||
import Servant.Text
|
||||
import Servant.Utils.Text
|
||||
|
||||
-- * Captures
|
||||
data Capture sym a
|
||||
|
|
|
@ -16,7 +16,7 @@ import Servant.API.Sub
|
|||
import Servant.Client
|
||||
import Servant.Docs
|
||||
import Servant.Server
|
||||
import Servant.Text
|
||||
import Servant.Utils.Text
|
||||
|
||||
-- * GET params support (i.e query string arguments)
|
||||
data GetParam sym a
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{-# LANGUAGE FlexibleInstances #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# LANGUAGE TypeSynonymInstances #-}
|
||||
module Servant.Text where
|
||||
module Servant.Utils.Text where
|
||||
|
||||
import Data.String.Conversions
|
||||
import Data.Text
|
Loading…
Reference in a new issue