data-default-class

A class for types with a default value

LTS Haskell 22.39:0.1.2.2
Stackage Nightly 2024-10-23:0.1.2.2
Latest on Hackage:0.1.2.2

See all snapshots data-default-class appears in

BSD-3-Clause licensed by Lukas Mai
Maintained by <[email protected]>
This version can be pinned in stack with:data-default-class-0.1.2.2@sha256:51400ed341ec87e86a4acf83301c6890e1fc67708e2d0ac519d48e0a14f54c15,1309

Module documentation for 0.1.2.2

This module defines a class for types with a default value. It also defines Default instances for the types Int, Int8, Int16, Int32, Int64, Word, Word8, Word16, Word32, Word64, Integer, Float, Double, Ratio, Complex, CShort, CUShort, CInt, CUInt, CLong, CULong, CLLong, CULLong, CPtrdiff, CSize, CSigAtomic, CIntPtr, CUIntPtr, CIntMax, CUIntMax, CClock, CTime, CUSeconds, CSUSeconds, CFloat, CDouble, (->), IO, Maybe, (), '[]', Ordering, Any, All, Last, First, Sum, Product, Endo, Dual, and tuples.