mateamt/src/Classes/ToDatabase.hs

13 lines
244 B
Haskell
Raw Normal View History

{-# LANGUAGE TypeFamilies #-}
module Classes.ToDatabase where
-- internal imports
2022-04-15 13:35:53 +00:00
import Classes.DatabaseRepresentation
class DatabaseRepresentation a => ToDatabase a where
-- type InTuple a :: Type
toDatabase :: a -> Representation a