Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
glguy committed Dec 11, 2024
1 parent 4d5704a commit 369bfcc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion common/src/Advent/Prelude.hs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ times n f x
| otherwise = times (n-1) f $! f x
{-# INLINE times #-}

-- | Apply a function @n@ times strictly.
-- | Bind an argument through a function @n@.
timesM :: Monad m => Int -> (a -> m a) -> a -> m a
timesM n f x
| n <= 0 = pure x
Expand Down
6 changes: 3 additions & 3 deletions solutions/solutions.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ license: ISC
license-file: LICENSE
author: Eric Mertens
maintainer: emertens@gmail.com
copyright: 2021 Eric Mertens
homepage: https://github.com/glguy/advent2021
bug-reports: https://github.com/glguy/advent2021/issues
copyright: 2015-2024 Eric Mertens
homepage: https://github.com/glguy/advent
bug-reports: https://github.com/glguy/advent/issues
build-type: Simple
Tested-With: GHC =={9.6.6, 9.8.2, 9.10.1}

Expand Down

0 comments on commit 369bfcc

Please sign in to comment.