haskell-numerics / random-fu

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

Add specific instance for Lift for Identity #11

Closed zenzike closed 11 years ago

zenzike commented 11 years ago

I have added a specific instance for Lift that fixes things up when there is no overlapping instance that is more specific. See the following SO post for discussion:

http://stackoverflow.com/questions/14096742/extracting-random-items-from-a-sequence/14123327#14123327

mokus0 commented 11 years ago

Thanks! I've been meaning to take a look at some type inference issues in later versions of GHC for a while, but haven't been able to give this project the time its users deserve lately. I'll package this up and upload it.