Skip to content

Commit

Permalink
fixup name
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjaguarpaw committed Feb 10, 2024
1 parent 83a8f65 commit 2ca315d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bluefin-internal/src/Bluefin/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -646,8 +646,8 @@ runEffIO ::
IO a
runEffIO eff = unsafeUnEff (eff IOE)

exampleParity :: [Int] -> String
exampleParity is = runEff $
countPositivesNegatives :: [Int] -> String
countPositivesNegatives is = runEff $
evalState (0 :: Int) $ \positives -> do
r <- try $ \ex ->
evalState (0 :: Int) $ \negatives -> do
Expand Down
4 changes: 2 additions & 2 deletions bluefin/src/Bluefin.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ module Bluefin
-- * "Bluefin.Stream", for streams
--
-- @
-- exampleParity :: [Int] -> String
-- exampleParity is = 'Bluefin.Eff.runEff' $
-- countPositivesNegatives :: [Int] -> String
-- countPositivesNegatives is = 'Bluefin.Eff.runEff' $
-- 'Bluefin.State.evalState' (0 :: Int) $ \\positives -> do
-- r \<- 'Bluefin.Exception.try' $ \\ex ->
-- evalState (0 :: Int) $ \\negatives -> do
Expand Down

0 comments on commit 2ca315d

Please sign in to comment.