handle all whitespace, not just ASCII 32
authorblanchet
Wed, 01 Sep 2010 23:47:05 +0200
changeset 39008 83ca64a880ea
parent 39007 aae6a0d33c66
child 39009 a9a2efcaf721
handle all whitespace, not just ASCII 32
src/HOL/Tools/Sledgehammer/sledgehammer.ML
--- a/src/HOL/Tools/Sledgehammer/sledgehammer.ML	Wed Sep 01 23:41:31 2010 +0200
+++ b/src/HOL/Tools/Sledgehammer/sledgehammer.ML	Wed Sep 01 23:47:05 2010 +0200
@@ -177,7 +177,7 @@
 val extract_clause_formula_relation =
   Substring.full #> Substring.position set_ClauseFormulaRelationN
   #> snd #> Substring.position "." #> fst #> Substring.string
-  #> explode #> filter_out (curry (op =) " ") #> parse_clause_formula_relation
+  #> explode #> filter_out Symbol.is_blank #> parse_clause_formula_relation
   #> fst
 
 (* TODO: move to "Sledgehammer_Reconstruct" *)