Commits

Aleksey Khudyakov committed f6d3ca8

Remove unused Show constraints

They were used during debugging and were not removed

Comments (0)

Files changed (1)

System/Random/MWC/CondensedTable.hs

 -- the case, this algorithm will construct a table for some
 -- distribution that may bear no resemblance to what you intended.
 tableFromProbabilities
-    :: (Vector v (a,Word32), Vector v (a,Double), Vector v a, Vector v Word32, Show a)
+    :: (Vector v (a,Word32), Vector v (a,Double), Vector v a, Vector v Word32)
        => v (a, Double) -> CondensedTable v a
 {-# INLINE tableFromProbabilities #-}
 tableFromProbabilities v
 -- probilities. Non-positive weights are discarded, and those
 -- remaining are normalized to 1.
 tableFromWeights
-    :: (Vector v (a,Word32), Vector v (a,Double), Vector v a, Vector v Word32, Show a)
+    :: (Vector v (a,Word32), Vector v (a,Double), Vector v a, Vector v Word32)
        => v (a, Double) -> CondensedTable v a
 {-# INLINE tableFromWeights #-}
 tableFromWeights = tableFromProbabilities . normalize . G.filter ((> 0) . snd)