Hi,
 
I get the error
 
No instance for (Num b0) arising from a use of ‘histogram’
    The type variable ‘b0’ is ambiguous
Relevant bindings include
      rthistogram :: (v10 Double, v10 b0)
 
for the following simple code:
 
import Data.Vector as V (fromList, Vector)
import Statistics.Sample.Histogram as H
 
let rtimes = [1,4,3,7,4,3] :: [Double]
let rtimesVec = V.fromList rtimes
let numBuckets = 3
let rthistogram = H.histogram numBuckets rtimesVec
 
What am I doing wrong?
Any help greatly appreciated :-)
 
Cheers
Sigrid