unlikely that someone uses takeWhile with a Set since this is clearly nonsense
fix scanLeft
fix scanLeft for breakout
implement toArray with Int, Double, and AnyRef
more exhaustive tests... found 2 bugs
fix unit tests