data-default icon indicating copy to clipboard operation
data-default copied to clipboard

A class for types with a default value

Results 15 data-default issues
Sort by recently updated
recently updated
newest added

Currently it's missing. Should return False.

Creating a class `Default1 (a :: * -> *)` in analogy with `Eq1`, `Ord1`, `Show1`, etc. that allows to pass an explicit default for a wrapped type.

Hello, this library looks really good to me and i would like to use it in my haskell stack project. Could it be added to [stackage](https://www.stackage.org/) ?

The usefulness of the Default class came from its ability to generically derive `Default` instances. I would argue that adding a `GDefault` instance for sum types (which selects the first...

My opinion: `def` is a useful concept for blobs of optional parameters, configs, and perhaps other domain-specific things, but not for numeric types, lists, Maybe, etc. The situation today is,...

I'd appreciate these instances. Thanks!

Includes two functors: - Const - ZipList

Hi great library, I was using it and somehow I assume this instance did exist, but did not and had to fork it on my project as `GDefault` is not...

The current instance isn't very useful and it occupies the space for a whole universe of way more useful default morphism instances, e.g.: ``` haskell instance Default (Int8 -> Int)...