haskell / mwc-random

A very fast Haskell library for generating high quality pseudo-random numbers.
http://hackage.haskell.org/package/mwc-random
BSD 2-Clause "Simplified" License
54 stars 25 forks source link

Build failure with primitive-0.6.1.1 #78

Closed sjakobi closed 3 years ago

sjakobi commented 3 years ago
System/Random/MWC.hs:161:81: error:
    Module ‘Control.Monad.Primitive’ does not export ‘unsafeSTToPrim’
cabal: Failed to build mwc-random-0.15.0.1
sjakobi commented 3 years ago

unsafeSTToPrim was apparently added in v0.6.2.0: http://hackage.haskell.org/package/primitive-0.7.1.0/docs/Control-Monad-Primitive.html#v:unsafeSTToPrim

Shimuuar commented 3 years ago

Thanks! I updated version bounds on hackage.

Shimuuar commented 3 years ago

Fixed by 0926aa4cfcfa6679de2651e6683a7ace81afed27

sjakobi commented 3 years ago

Thank you! :)