Remove old unused module.

This commit is contained in:
Kei Hibino 2013-09-08 22:44:41 +09:00
parent 97441a74f6
commit 1b7d180826
2 changed files with 0 additions and 26 deletions

View File

@ -65,7 +65,6 @@ library
Database.Relational.Query.Internal.AliasId
Database.Relational.Query.Internal.String
Database.Relational.Query.Internal.Product
Database.Relational.Query.Monad.Trans.StatePrepend
Database.Relational.Query.Monad.Trans.AssigningState
Database.Relational.Query.Monad.Trans.JoinState
Database.Relational.Query.Monad.Trans.RestrictingState

View File

@ -1,25 +0,0 @@
-- |
-- Module : Database.Relational.Query.Monad.Trans.StatePrepend
-- Copyright : 2013 Kei Hibino
-- License : BSD3
--
-- Maintainer : ex8k.hibino@gmail.com
-- Stability : experimental
-- Portability : unknown
--
-- This module provides functions to generate strings
-- from individual transformers' state and string prepend seed.
module Database.Relational.Query.Monad.Trans.StatePrepend (
-- * Type tagged string prepend function types
Prepend (prepend),
liftToString
) where
-- | Type tagged string prepend function.
newtype Prepend c = Prepend { prepend :: ShowS }
-- | Lift from to-string into to-prepend function.
liftToString :: (c -> String) -> c -> Prepend c
liftToString = fmap $ \s -> Prepend (d s ++) where
d "" = ""
d s = ' ' : s