Skip to content

Commit

Permalink
remove a couple bogus unpack pragmas
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellwrosen committed Oct 1, 2023
1 parent 24a72c4 commit e1bb18b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TimerWheel.hs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ data Config = Config
{ -- | Spoke count
spokes :: {-# UNPACK #-} !Int,
-- | Resolution
resolution :: {-# UNPACK #-} !Seconds
resolution :: !Seconds
}
deriving stock (Generic, Show)

Expand Down Expand Up @@ -287,7 +287,7 @@ timerBucketInsert timestamp timer =
TimersN old -> TimersN (timer : old)

data Timers
= Timers1 {-# UNPACK #-} !Timer
= Timers1 !Timer
| -- 2+ timers, stored in the reverse order that they were enqueued (so the last should fire first)
TimersN ![Timer]

Expand Down

0 comments on commit e1bb18b

Please sign in to comment.