Skip to content

Commit

Permalink
Document more dot properties
Browse files Browse the repository at this point in the history
Closes #28
  • Loading branch information
treeowl committed Jun 4, 2018
1 parent ab08048 commit acf85bd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Control/Parallel/Strategies.hs
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,12 @@ withStrategy = flip using
-- | Compose two strategies sequentially.
-- This is the analogue to function composition on strategies.
--
-- For any strategies @strat1@, @strat2@, and @strat3@,
--
-- > (strat1 `dot` strat2) `dot` strat3 == strat1 `dot` (strat2 `dot` strat3)
-- > strat1 `dot` strat1 = strat1
-- > strat1 `dot` r0 == strat1
--
-- > strat2 `dot` strat1 == strat2 . withStrategy strat1
--
dot :: Strategy a -> Strategy a -> Strategy a
Expand Down

0 comments on commit acf85bd

Please sign in to comment.