I have the following TagOpen [TagOpen "a" [("href","/launchWebForward.do?resourceId=4&policy=0&returnTo=%2FshowWebForwards.do")]]
I would like to get the attribute resourceId=4 from that. My understanding is that fromAttrib is the right thing to use. But I'm having difficulty understanding the type signature fromAttrib :: (Show str, Eq str, StringLike str) => str -> Tag str -> str I'm sure if I did, the way to use it would be clear. Could someone help me make sense of this? _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe