对于附加在列表上的廉价操作(不是字符串),我会使用Data.DList.
让我失望的是,Hackage上的软件包标记为“实验性”,最后一次更新是在2009年.
在Haskell,DList仍然是可行的吗?
使用 Data.Sequence 中的Seq.它还有O(1)缺点和snoc,但它是基础的,并且使用和测试了很多.
翻译自:https://stackoverflow.com/questions/7119014/state-of-the-art-of-cheap-lists-operations-in-haskell
转载注明原文: Haskell廉价列表操作的最新技术?
以上所述就是小编给大家介绍的《Haskell廉价列表操作的最新技术?》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Discrete Mathematics and Its Applications
Kenneth H Rosen / McGraw-Hill Science/Engineering/Math / 2003-04-22 / USD 132.81
Discrete Mathematics and its Applications is a focused introduction to the primary themes in a discrete mathematics course, as introduced through extensive applications, expansive discussion, and deta......一起来看看 《Discrete Mathematics and Its Applications》 这本书的介绍吧!