raft-0.3.7.2: Miscellaneous Haskell utilities for data structures and data manipulation.

Safe HaskellSafe
LanguageHaskell2010

Data.Functor.Util

Contents

Description

Utilities related to Data.Functor.

Synopsis

Utilities

cast Source #

Arguments

:: (Functor f, Functor g) 
=> (a -> b)

The function to be applied.

-> f (g a)

The nested functors.

-> f (g b)

The resulting nested functors.

Apply fmap twice.