Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.
Merged
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
2 changes: 1 addition & 1 deletion src/Optic/Getter.purs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module Optic.Getter

import Data.Const (getConst, Const(..))
import Data.Functor.Contravariant ((>$<), Contravariant)
import Data.Profunctor (dimap, rmap, Profunctor)
import Data.Profunctor (dimap, Profunctor)

import Optic.Types (Getting())

Expand Down
2 changes: 1 addition & 1 deletion src/Optic/Laws/Lens.purs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module Optic.Laws.Lens where
import Prelude (Eq, (&&), (==))

-- | A valid `Lens` satisfies all three of the following laws.
validLens :: forall s a b. (Eq a, Eq s) => LensP s a -> s -> a -> a -> a -> Boolean
validLens :: forall s a. (Eq a, Eq s) => LensP s a -> s -> a -> a -> a -> Boolean
validLens l s x y z = getSet l s
&& setGet l s x
&& setSet l s y z
Expand Down