Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Fix module name. id -> identity. #11

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Data/Inject/Coproduct.purs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Data.Inject.Either where
module Data.Inject.Coproduct where

import Prelude

Expand All @@ -19,5 +19,5 @@ else instance injectRight :: Inject f g => Inject f (Coproduct h g) where
prj = coproduct (const Nothing) prj

else instance injectReflexive :: Inject f f where
inj = id
inj = identity
prj = Just
2 changes: 1 addition & 1 deletion src/Data/Inject/Either.purs
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ else instance injectRight :: Inject a b => Inject a (Either c b) where
prj = either (const Nothing) prj

else instance injectReflexive :: Inject a a where
inj = id
inj = identity
prj = Just