Module apply_first

Module apply_first 

Source
Expand description

ApplyFirst type class.

This module defines the ApplyFirst trait, which provides the ability to sequence two computations but discard the result of the second computation, keeping only the result of the first.

Traits§

ApplyFirst
A type class for types that support combining two contexts, keeping the first value.

Functions§

apply_first
Combines two contexts, keeping the value from the first context.