If you search for skips lists implemented in Haskell, you won\'t find many. It is a probabilistic data structure needing a random number generator, meaning that any of these str
Since skiplists have a pure interface, it would be valid to make an implementation using IO
internally and to wrap that with unsafePerformIO
for the interface. This simply moves the burden of "getting it right" from the language to the programmer (which is where the burden always lies in impure languages).