Data.Sequence?
Bulat Ziganshin
bulat.ziganshin at gmail.com
Thu Jun 1 10:31:23 EDT 2006
Hello Michael,
Thursday, June 1, 2006, 5:26:33 PM, you wrote:
> http://cvs.haskell.org/cgi-bin/cvsweb.cgi/fptools/libraries/base/Data/Queue.hs
> Revision 1.5: download - view: text, markup, annotated - select for diffs
> Fri Jul 29 17:17:22 2005 UTC (10 months ago) by ross
> Branches: MAIN
> CVS tags: cmm-merge2, HEAD
it's a HEAD, i.e. ghc 6.5 version. i have installed 6.4.2 sources
(which should be marked STABLE in repository) and they don't mark any
deprecation:
-----------------------------------------------------------------------------
-- |
-- Module : Data.Queue
-- Copyright : (c) The University of Glasgow 2002
-- License : BSD-style (see the file libraries/base/LICENSE)
--
-- Maintainer : libraries at haskell.org
-- Stability : experimental
-- Portability : portable
--
-- Queues with constant time operations, from
-- /Simple and efficient purely functional queues and deques/,
-- by Chris Okasaki, /JFP/ 5(4):583-592, October 1995.
--
-----------------------------------------------------------------------------
module Data.Queue(
Queue,
-- * Primitive operations
-- | Each of these requires /O(1)/ time in the worst case.
emptyQueue, addToQueue, deQueue,
-- * Queues and lists
listToQueue, queueToList
) where
import Prelude -- necessary to get dependencies right
import Data.Typeable
.....
--
Best regards,
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Glasgow-haskell-users
mailing list