@@ -41,16 +41,21 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4141{-# LANGUAGE DefaultSignatures, TypeOperators, FlexibleContexts #-}
4242#endif
4343
44+ {-|
45+ Module : Data.Default.Class
46+ Description : Defines a class for types with a default value.
47+
48+ This module defines a class for types with a default value.
49+ It also defines 'Default' instances for the types 'Int', 'Int8',
50+ 'Int16', 'Int32', 'Int64', 'Word', 'Word8', 'Word16', 'Word32', 'Word64',
51+ 'Integer', 'Float', 'Double', 'Ratio', 'Complex', 'CShort', 'CUShort',
52+ 'CInt', 'CUInt', 'CLong', 'CULong', 'CLLong', 'CULLong', 'CPtrdiff',
53+ 'CSize', 'CSigAtomic', 'CIntPtr', 'CUIntPtr', 'CIntMax', 'CUIntMax',
54+ 'CClock', 'CTime', 'CUSeconds', 'CSUSeconds', 'CFloat', 'CDouble', '(->)',
55+ 'IO', 'Maybe', '()', '[]', 'Ordering', 'Any', 'All', 'Last', 'First', 'Sum',
56+ 'Product', 'Endo', 'Dual', and tuples.
57+ -}
4458module Data.Default.Class (
45- -- | This module defines a class for types with a default value.
46- -- It also defines 'Default' instances for the types 'Int', 'Int8',
47- -- 'Int16', 'Int32', 'Int64', 'Word', 'Word8', 'Word16', 'Word32', 'Word64',
48- -- 'Integer', 'Float', 'Double', 'Ratio', 'Complex', 'CShort', 'CUShort',
49- -- 'CInt', 'CUInt', 'CLong', 'CULong', 'CLLong', 'CULLong', 'CPtrdiff',
50- -- 'CSize', 'CSigAtomic', 'CIntPtr', 'CUIntPtr', 'CIntMax', 'CUIntMax',
51- -- 'CClock', 'CTime', 'CUSeconds', 'CSUSeconds', 'CFloat', 'CDouble', '(->)',
52- -- 'IO', 'Maybe', '()', '[]', 'Ordering', 'Any', 'All', 'Last', 'First', 'Sum',
53- -- 'Product', 'Endo', 'Dual', and tuples.
5459 Default (.. )
5560) where
5661
0 commit comments