LanguageExt.Core

LanguageExt.Core Traits Deriving

Contents

interface Deriving <Supertype, Subtype> Source #

Deriving is an alias for NaturalIso

It is aliased to be more declarative when used in trait-implementations. The idea is that your Supertype is a wrapper around your Subtype. Use of the Deriving trait, and the Deriving.* interfaces, makes trait-implementations much easier.

Parameters

type Supertype

Wrapper type that is a super-type wrapper of Subtype

type Subtype

Subtype of Supertype