Skip to content

Commit

Permalink
Merge pull request #31 from treeowl/doc-dot
Browse files Browse the repository at this point in the history
Document more dot properties
  • Loading branch information
simonmar authored Jun 4, 2018
2 parents 2c73c0d + acf85bd commit 358b2d6
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 358b2d6

Please sign in to comment.