htcc-0.0.0.1: The full scratch implementation of tiny C compiler (x86_64)
Copyright(c) roki 2019
LicenseMIT
Maintainerfalgon53@yahoo.co.jp
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe
LanguageHaskell2010

Htcc.Utils.NaturalTransformations

Description

Utilities of natural transformations

Synopsis

Documentation

maybeToRight :: e -> Maybe ~> Either e Source #

Natural transformation from Maybe functor to Either e functor