Symbol.explode as in ML;
authorwenzelm
Sat, 17 Sep 2011 16:19:40 +0200
changeset 44949 b49d7f1066c8
parent 44948 b455e4f42c04
child 44950 f60405791a1d
Symbol.explode as in ML;
src/Pure/General/symbol.scala
--- a/src/Pure/General/symbol.scala	Sat Sep 17 16:00:54 2011 +0200
+++ b/src/Pure/General/symbol.scala	Sat Sep 17 16:19:40 2011 +0200
@@ -115,6 +115,8 @@
       }
     }
 
+  def explode(text: CharSequence): List[Symbol] = iterator(text).toList
+
 
   /* decoding offsets */