[clean-list] unboxed spine strict lists and list comprehensions
isaac gouy
igouy@yahoo.com
Thu, 11 Sep 2003 20:10:06 -0700 (PDT)
Is there a way to use unboxed spine strict lists in
list comprehensions?
module test
import StdEnv, StdOverloadedList, StdStrictLists
Start = Length b
where
a = [# x \\ x <- [1..5] !]
b = [# x+1 \\ x <- a !]
Type error [test.icl,6,comprehension]: cannot unify
[Int] with [#v3!]
best wishes, Isaac
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com