Oops, I missed this one (a) Happy b-day!

even though 1/2 the time i have no idea what he's saying. he's one step from talking in binary,,,,
lol
type Name = String
type Board = (Name,Friends)
boards = [("GfxOasis",..),("Aqua-Soft",..),("NeoWin",...)]
thankFriendsOnBoard :: [Boards] -> String -> [Friends]
thankFriendsOnBoard b n = concat (map thank (filter equalsBoardName b
where equalsBoardName (s,_) = s == n)
where thank (_,f) = concat (map thankFriend f where thankFriend (f,_) = (f,"thanked") ))
> thankFriendsOnBoard boards "Aqua-Soft"
Now, isn't this much more pleasing than that ugly piece of VB code you posted there? ![]()
Aqua-Soft Forums