make Data.Graph portable (no change to the interface)
authorRoss Paterson <ross@soi.city.ac.uk>
Wed, 22 Nov 2006 01:00:40 +0000 (01:00 +0000)
committerRoss Paterson <ross@soi.city.ac.uk>
Wed, 22 Nov 2006 01:00:40 +0000 (01:00 +0000)
commit75296935ba947d70550780fbbddb560fd4dd19c8
tree56eb370adeec43f387362eaa92b112e3ce657ac8
parent25561b5ef632ebe4fa5dccc73751fa418bda1196
make Data.Graph portable (no change to the interface)

The algorithm now uses STArrays on GHC and IntSets elsewhere.
(Hugs has STArrays, but avoiding them saves a -98, and boxed arrays
aren't fast under Hugs anyway.)
Data/Graph.hs