haskell-numerics / random-fu

A suite of Haskell libraries for representing, manipulating, and sampling random variables
42 stars 21 forks source link

Add support for GHC 8.8 #49

Closed int-e closed 4 years ago

int-e commented 5 years ago

GHC 8.8 implements the final step in the MonadFail proposal by removing fail from the Monad class and instead exposing the MonadFail class.

adamConnerSax commented 4 years ago

A gentle nudge...it would be great to release this on hackage. Or at least merge the PR so one could point to this instead of forking.
Also, I think there's one more fail that needs replacing with error, in random-fu/src/Data/Random/Distribution/T.hs

Thanks!

int-e commented 4 years ago

Also, I think there's one more fail that needs replacing with error, in random-fu/src/Data/Random/Distribution/T.hs

Thanks for the feedback! However, I don't think that's true; I have patched that file (and it had only one fail to begin with).

adamConnerSax commented 4 years ago

Sorry! Somehow when I looked at your commit--I was replicating for a fork so I can use 8.8--I didn't see it. My fault!

int-e commented 4 years ago

@idontgetoutmuch Thanks for the new release! But we need a release of rvar for this as well.