Spec-Zone.ru › Haskell 7

Data.Functor.Constant

Copyright (c) Ross Paterson 2010
License BSD-style (see the file LICENSE)
Maintainer ross@soi.city.ac.uk
Stability experimental
Portability portable
Safe Haskell Safe
Language Haskell98

Описание

Константа-функтор.

newtype Constant a b Источник

Константа-функтор.

Конструкторы

Constant

Поля

getConstant :: a

Примеры реализации

Functor (Constant a)
Monoid a => Applicative (Constant a)
Foldable (Constant a)
Traversable (Constant a)
Show a => Show1 (Constant a)
Read a => Read1 (Constant a)
Ord a => Ord1 (Constant a)
Eq a => Eq1 (Constant a)
Eq a => Eq (Constant a b)
Ord a => Ord (Constant a b)
Read a => Read (Constant a b)
Show a => Show (Constant a b)

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/7.10.3/docs/html/libraries/transformers-0.4.2.0/Data-Functor-Constant.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API