src/Tools/Spec_Check/output_style.ML
changeset 59058 a78612c67ec0
parent 53171 a5e54d4d9081
equal deleted inserted replaced
59057:5b649fb2f2e1 59058:a78612c67ec0
    22 
    22 
    23         val resultw = 8
    23         val resultw = 8
    24         val countw = 20
    24         val countw = 20
    25         val allw = namew + resultw + countw + 2
    25         val allw = namew + resultw + countw + 2
    26 
    26 
    27         val maybe_sort = if sort_examples then sort (int_ord o pairself size) else I
    27         val maybe_sort = if sort_examples then sort (int_ord o apply2 size) else I
    28 
    28 
    29         fun result ({count = 0, ...}, _) _ = "dubious"
    29         fun result ({count = 0, ...}, _) _ = "dubious"
    30           | result (_ : Property.stats, badobjs) false = if null badobjs then "ok" else "FAILED"
    30           | result (_ : Property.stats, badobjs) false = if null badobjs then "ok" else "FAILED"
    31           | result ({count, tags}, badobjs) true =
    31           | result ({count, tags}, badobjs) true =
    32               if not (null badobjs) then "FAILED"
    32               if not (null badobjs) then "FAILED"