Skip to content

Commit 579dc9b

Browse files
committed
add bounds
unused
1 parent 1468106 commit 579dc9b

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

clash-lib/clash-lib.cabal

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,10 @@ Library
154154
hint >= 0.7 && < 0.10,
155155
interpolate >= 0.2.0 && < 1.0,
156156
lens >= 4.10 && < 5.1.0,
157-
-- TODO bounds
158-
lifted-async,
159-
lifted-base,
160-
lockfree-queue,
161-
monad-control,
157+
lifted-async >=0.10 && <0.11,
158+
lifted-base >=0.2 && <0.3,
159+
lockfree-queue >=0.2 && <0.3,
160+
monad-control >=1.0 && <1.1,
162161
mtl >= 2.1.2 && < 2.3,
163162
ordered-containers >= 0.2 && < 0.3,
164163
prettyprinter >= 1.2.0.1 && < 1.8,

clash-lib/src/Clash/Normalize.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ normalize' nm q = do
182182
bndrsV <- Lens.use bindings
183183
exprM <- MVar.withMVar bndrsV (pure . lookupVarEnv nm)
184184
let nmS = showPpr (varName nm)
185-
-- traceM ("normalize: start " <> nmS)
186185
case exprM of
187186
Just (Binding nm' sp inl pr tm r) -> do
188187
tcm <- Lens.view tcCache
@@ -229,8 +228,6 @@ normalize' nm q = do
229228
$ filter (`notElemVarEnv` extendVarEnv nm nm prevNorm) usedBndrs
230229
in pure toNormalize
231230

232-
-- traceM ("normalize: end: " <> nmS)
233-
234231
traverse_ (Monad.liftIO . MS.pushL q) toNormalize
235232
pure (nm, tmNorm)
236233
else

0 commit comments

Comments
 (0)