From: Christoph Rippel Date: 2001-02-19T19:06:41+09:00 Subject: [ruby-talk:11089] Recursive flattening (was RE: MetaRuby 0.5) > -----Original Message----- > From: Christoph Rippel [mailto:crippel@primenet.com] [..] > Your implementation of flatten seems to throw a "self - > recursive flattening exception" when it encounters a > self recursive Array (the simplest example is > x = []; x << x ) - maybe the build in semantics should > follow your implementation? I should have been more specific the native Array implementation of flatten! does not throw an execption (but flatten does). Either way meta-ruby or the native Array implementation have to change ... (maybe both -i.e. get ride of recursive flatten exceptions all together?) Christoph