On 10/14/10 1:15 AM, Jonas Almström Duregård wrote:
[...]

Also, what is UntaggedList used for, and how is it different from [].

/J


UntaggedList makes it easy for you do things like the following:

    processListAsTaggedList :: [a] -> (forall n. TaggedList n a -> b) -> b
    processListAsTaggedList xs f =
        case fromListAsUntagged xs of
            UntaggedList lst -> f lst

Cheers,
Greg

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to