Skip to content

Commit

Permalink
Merge pull request #10 from icasperzen/fix-incorrect-show-instance-bool
Browse files Browse the repository at this point in the history
Fix format char type error in Data.Summary.Bool Show instance
  • Loading branch information
patperry committed May 8, 2014
2 parents dbe7027 + 5ebdb3e commit 1b59ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Data/Summary/Bool.hs
Expand Up @@ -43,7 +43,7 @@ data Summary = S {-# UNPACK #-} !Int -- sample size
instance Show Summary where
show s@(S n c) =
printf " sample size: %d" n
++ printf "\n successes: %g" c
++ printf "\n successes: %d" c
++ printf "\n proportion: %g" (sampleMean s)
++ printf "\n SE: %g" (sampleSE s)
++ printf "\n 99%% CI: (%g, %g)" c1 c2
Expand Down

0 comments on commit 1b59ec6

Please sign in to comment.