Skip to content

Commit

Permalink
si-timers: improved haddocks formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
coot committed Aug 29, 2024
1 parent 227307c commit de8d691
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions io-classes/si-timers/src/Control/Monad/Class/MonadTimer/SI.hs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class ( MonadTimer.MonadTimer m

-- | A timeout function.
--
-- TODO: 'IO' instance is not safe on 32-bit systems.
-- __TODO__: /'IO' instance is not safe on 32-bit systems./
timeout :: DiffTime -> m a -> m (Maybe a)


Expand Down Expand Up @@ -244,7 +244,7 @@ defaultRegisterDelayCancellable newTimeout _readTimeout _cancelTimeout awaitTime
-- small enough it will use the `MonadTimer`'s `registerDelay` (e.g. for `IO`
-- monad it will use the `GHC`'s `GHC.Conc.registerDelay`).
--
-- TODO: 'timeout' not safe on 32-bit systems.
-- __TODO__: /'timeout' is not safe on 32-bit systems./
instance MonadTimer IO where
registerDelay d
| d <= maxDelay =
Expand Down

0 comments on commit de8d691

Please sign in to comment.