summaryrefslogtreecommitdiff
path: root/src/Data/Maybe/Properties.idr
blob: f00b79fc01d1c6be997632c413d12e6a5baf224e (plain)
1
2
3
4
5
6
module Data.Maybe.Properties

export
mapFusion : (s : Maybe a) -> (f . g) <$> s = f <$> [| g s |]
mapFusion Nothing = Refl
mapFusion (Just x) = Refl