on master help sign in
Remove some duplicate documentation
commit52bd18c3c848b1ee02307eedad9f13a55e90f1f7 authorOllie Charles <ollie@ocharles.org.uk> dateTue 23 Mar 2021, 15:48 (6 years ago) parentd15fae7
1 file changed−8
src/Rel8/Type/ReadShow.hs−8
src/Rel8/Type/ReadShow.hs−8
@@ -28,14 +28,6 @@ import qualified Data.Text as Text
2828newtype ReadShow a = ReadShow { fromReadShow :: a }
2929
3030
31−-- | The 'PrimitiveType' instance for 'ReadShow' allows you to serialize a type using
32−-- Haskell's 'Read' and 'Show' instances:
33−--
34−-- @
35−-- data Color = Red | Green | Blue
36−-- deriving (Read, Show)
37−-- deriving PrimitiveType via ReadShow Color
38−-- @
3931instance (Read a, Show a) => DBType (ReadShow a) where
4032 typeInformation = parseTypeInformation parser printer typeInformation
4133 where