added some doctests
added $ to stdlib; fixed ?{} w/ empty else clause