On Sat, Jun 16, 2012 at 8:39 PM, miro <miroslav.karpis@gmail.com> wrote:
Am a bit stuck here,... please, what is wrong with this?

checkNode :: String -> [String] -> Bool
checkNode s nodes =
   [s == node | node <- nodes ]

This is going to return a *list* of Bools, one per String in the original list.

--
brandon s allbery                                      allbery.b@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms