equal
deleted
inserted
replaced
1000 |
1000 |
1001 |
1001 |
1002 (* renewing the values command for Prolog queries *) |
1002 (* renewing the values command for Prolog queries *) |
1003 |
1003 |
1004 val opt_print_modes = |
1004 val opt_print_modes = |
1005 Scan.optional (Parse.$$$ "(" |-- Parse.!!! (Scan.repeat1 Parse.xname --| Parse.$$$ ")")) []; |
1005 Scan.optional (@{keyword "("} |-- Parse.!!! (Scan.repeat1 Parse.xname --| @{keyword ")"})) []; |
1006 |
1006 |
1007 val _ = Outer_Syntax.improper_command "values" "enumerate and print comprehensions" Keyword.diag |
1007 val _ = Outer_Syntax.improper_command "values" "enumerate and print comprehensions" Keyword.diag |
1008 (opt_print_modes -- Scan.optional (Parse.nat >> SOME) NONE -- Parse.term |
1008 (opt_print_modes -- Scan.optional (Parse.nat >> SOME) NONE -- Parse.term |
1009 >> (fn ((print_modes, soln), t) => Toplevel.keep |
1009 >> (fn ((print_modes, soln), t) => Toplevel.keep |
1010 (values_cmd print_modes soln t))); (*FIXME does not preserve the previous functionality*) |
1010 (values_cmd print_modes soln t))); (*FIXME does not preserve the previous functionality*) |