Skip to content

Alexey Kuleshevich - Haskell's new random package interface

Photo of
Hosted By


About a year ago three people took on a journey of rewriting the random package in order to improve its performance and usability. After 6 months of hard work and many experiments we were able to make a release of random-1.2.0. This was the first release in 6 years and it was also the first version that had any significant changes added to its interface since the Haskell98 report. The outcome was astonishing:

  • Performance of random value generation was improved by orders of magnitude. Depending on the type the improvement factor was in a range of x36 to x1000.
  • Quality of the default generator was improved significantly.
  • A new mutable interface was added that unified pure random number generators with ones that require mutable state.

This talk will be about the new cool features of random, various challenges we encountered on the way and some of the decisions we had to make in order to make this release happen.


This will be an online event. We will be using Zoom for video conference and Slack for chat. The video will be recorded and uploaded to YouTube after the event.

Please join the ZuriHac Slack workspace using the following link and then join the #meetup channel.

Please join the video conference using the following link.
Meeting ID: 870 1695 0290
Passcode: 712987

Online event
This event has passed
67 spots left