acme-default-0.1.0: A class for types with a distinguished aesthetically pleasing value

Data.Default

Contents

Description

This module defines a class for types with a distinguished value that someone considers aesthetically pleasing. If you would like your favourite value featured as the default in the next release, become that someone now! Just create an issue on the issue tracker!

Synopsis

# Default class

class Default a where Source #

A class for types with a distinguished value that someone considers aesthetically pleasing.

Minimal complete definition

def

Methods

def :: a Source #

The currently selected default value.

Instances

 Source # Current default False chosen by ertes, the answer to the question whether mniip has a favourite Bool. Methods Source # Current default '→' chosen by sleblanc, because arrows look fancy when you use them in a chat. Methods Source # Current default 1.1102230246251565e-16 chosen by ertes, the difference between 1 and sum (replicate 10 0.1). Methods Source # Current default 388.38 chosen by ertes, because it's beautiful in decimal and approximately equal to twice the molar mass of caffeine in grams per mol. Methods Source # Current default 18871 chosen by ertes, a beautiful product of a Sophie-Germain prime and a safe prime. Methods Source # Current default 29 chosen by ertes for obvious reasons. Methods Source # Current default -99 chosen by ertes, the largest prime that generates a multiplicative subgroup of maximal order modulo 2^16. Methods Source # Current default -1 chosen by ertes, the largest negative number. Methods Source # Current default is Graham's number G chosen by ertes. Methods Source # Current default 10 chosen by ertes, the fifth triangular number that also happens to be the base of the most common positional notation in use for numbers. Methods Source # Current default 216 chosen by ertes, the volume of the largest cube with integer side length. Methods Source # Current default 6 chosen by ertes, the smallest perfect number. Methods Source # Current default 4294967296 chosen by Axman6 and mniip, because it's equal to 0. Methods Source # Current default 17 chosen by ertes. It just looks nice in decimal when written with serifs on the first digit. Methods Default () Source # Current default def chosen by ertes for the same reason as the instance for (). Methodsdef :: () Source # Default a => Default [a] Source # Current default replicate 4 def` chosen by mniip, because 4 is a random number. Methodsdef :: [a] Source # (Default a, Default b) => Default (a, b) Source # Methodsdef :: (a, b) Source # (Default a, Default b, Default c) => Default (a, b, c) Source # Methodsdef :: (a, b, c) Source # (Default a, Default b, Default c, Default d, Default e) => Default (a, b, c, d, e) Source # Methodsdef :: (a, b, c, d, e) Source # (Default a, Default b, Default c, Default d, Default e, Default f) => Default (a, b, c, d, e, f) Source # Methodsdef :: (a, b, c, d, e, f) Source #