monad-memo-0.4.1: Memoization monad transformer

Copyright(c) Eduard Sergeev 2013
LicenseBSD-style (see the file LICENSE)
Maintainereduard.sergeev@gmail.com
Stabilityexperimental
Portabilitynon-portable (multi-param classes, functional dependencies)
Safe HaskellSafe
LanguageHaskell98

Data.MaybeLike.Instances

Contents

Description

Defines default instances of MaybeLike for most primitive Unboxed types

Documentation

Orphan instances

MaybeLike Char Char # 
MaybeLike Double Double # 
MaybeLike Float Float # 
MaybeLike Int Int # 

Methods

nothing :: Int #

isNothing :: Int -> Bool #

just :: Int -> Int #

fromJust :: Int -> Int #

MaybeLike Int8 Int8 # 
MaybeLike Int16 Int16 # 
MaybeLike Int32 Int32 # 
MaybeLike Int64 Int64 # 
MaybeLike Word Word # 
MaybeLike Word8 Word8 # 
MaybeLike Word16 Word16 # 
MaybeLike Word32 Word32 # 
MaybeLike Word64 Word64 # 
MaybeLike (Maybe a) a # 

Methods

nothing :: Maybe a #

isNothing :: Maybe a -> Bool #

just :: a -> Maybe a #

fromJust :: Maybe a -> a #