src/Pure/goal_display.ML
changeset 33955 fff6f11b1f09
parent 32966 5b21661fe618
child 33957 e9afca2118d4
     1.1 --- a/src/Pure/goal_display.ML	Tue Nov 24 14:37:23 2009 +0100
     1.2 +++ b/src/Pure/goal_display.ML	Tue Nov 24 17:28:25 2009 +0100
     1.3 @@ -99,7 +99,7 @@
     1.4        (if main then [prt_term B] else []) @
     1.5         (if ngoals = 0 then [Pretty.str "No subgoals!"]
     1.6          else if ngoals > maxgoals then
     1.7 -          pretty_subgoals (Library.take (maxgoals, As)) @
     1.8 +          pretty_subgoals ((uncurry take) (maxgoals, As)) @
     1.9            (if total then [Pretty.str ("A total of " ^ string_of_int ngoals ^ " subgoals...")]
    1.10             else [])
    1.11          else pretty_subgoals As) @