data-default-class

A class for types with a default value

Version on this page:0.1.2.2
LTS Haskell 23.3:0.1.2.2
Stackage Nightly 2025-01-06:0.2.0.0
Latest on Hackage:0.2.0.0

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.