mateamt/src/Classes/FromDatabase.hs

13 lines
251 B
Haskell
Raw Normal View History

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