Skip to content

Commit

Permalink
hlint
Browse files Browse the repository at this point in the history
  • Loading branch information
vmchale committed Nov 15, 2024
1 parent c7eacd8 commit da94801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ qc s = do
else Just es <$ traverse_ freeP (catMaybes mps))
res <- loopϵ (100::Int)
case res of
Nothing -> putDocLn ("Passed, 100.")
Nothing -> putDocLn "Passed, 100."
Just ex -> putDocLn ("Proposition failed!" <> hardline <> pretty ex)
freeAsm asm

Expand Down Expand Up @@ -465,7 +465,7 @@ benchE s = do
asm@(_, fp, _) <- efp eC
benchmark (nfIO (do{p<- callFFI fp (retPtr undefined) []; free p}))
freeAsm asm
A.Arrow{} -> liftIO $ putDocLn ("Cannot benchmark a function without arguments")
A.Arrow{} -> liftIO $ putDocLn "Cannot benchmark a function without arguments"
where bs = ubs s

rSz A.B=1; rSz I=8; rSz A.F=8; rSz (P ts) = sum (rSz<$>ts); rSz Arr{}=8
Expand Down

0 comments on commit da94801

Please sign in to comment.