
2 Apr
2009
2 Apr
'09
11:18 p.m.
Looking at the definition of "partition", it calls select :: (a -> Bool) -> a -> ([a], [a]) -> ([a], [a]) select p x ~(ts,fs) | p x = (x:ts,fs) | otherwise = (ts, x:fs) what does the "~" do? Can't seem to find it in the documentation, or see a difference in output without it. Thank you. -- TG cowscanfly@airpost.net -- http://www.fastmail.fm - Email service worth paying for. Try it for free