getUserEntryForName weirdness

Peter Simons simons at cryp.to
Fri Oct 29 12:29:52 EDT 2004


Is anyone else seeing this on his system?

  getUserEntryForName [] >>= print . userName
  "wasabi"

"wasabi" happens to be the last entry in the /etc/passwd
file, and that is what I get every time I query for an user
that doesn't exist. The source code promises an exception,
but I don't get one. 

Peter



More information about the Glasgow-haskell-users mailing list