Skip to content

Commit

Permalink
swapped from value to iwhere
Browse files Browse the repository at this point in the history
  • Loading branch information
ekmett committed Dec 27, 2012
1 parent d5d8010 commit 8bbb869
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/properties.hs
Expand Up @@ -110,10 +110,10 @@ prop_2_2 = isLens (_2._2 :: Lens' (Int,(Int,Bool),Do
prop_mapped = isSetter (mapped :: Setter' [Int] Int)
prop_mapped_mapped = isSetter (mapped.mapped :: Setter' [Maybe Int] Int)

prop_both = isTraversal (both :: Traversal' (Int,Int) Int)
prop_value (Fun _ k :: Fun Int Bool) = isTraversal (value k :: Traversal' (Int,Int) Int)
prop_traverseLeft = isTraversal (_left :: Traversal' (Either Int Bool) Int)
prop_traverseRight = isTraversal (_right :: Traversal' (Either Int Bool) Bool)
prop_both = isTraversal (both :: Traversal' (Int,Int) Int)
prop_value (Fun _ k :: Fun Int Bool) = isTraversal (iwhere k :: Traversal' (Int,Int) Int)
prop_traverseLeft = isTraversal (_left :: Traversal' (Either Int Bool) Int)
prop_traverseRight = isTraversal (_right :: Traversal' (Either Int Bool) Bool)

prop_simple = isIso (simple :: Iso' Int Int)
--prop_enum = isIso (enum :: Iso' Int Char)
Expand Down

0 comments on commit 8bbb869

Please sign in to comment.