NEWS
changeset 61126 e6b1236f9b3d
parent 61125 4c68426800de
child 61134 80ac5e17772d
equal deleted inserted replaced
61125:4c68426800de 61126:e6b1236f9b3d
   187 constant and its defining fact become qualified, e.g. Option.is_none and
   187 constant and its defining fact become qualified, e.g. Option.is_none and
   188 Option.is_none_def. Occasional INCOMPATIBILITY in applications.
   188 Option.is_none_def. Occasional INCOMPATIBILITY in applications.
   189 
   189 
   190 * Combinator to represent case distinction on products is named "uncurry",
   190 * Combinator to represent case distinction on products is named "uncurry",
   191 with "split" and "prod_case" retained as input abbreviations.
   191 with "split" and "prod_case" retained as input abbreviations.
       
   192 Partially applied occurences of "uncurry" with eta-contracted body
       
   193 terms are not printed with special syntax, to provide a compact
       
   194 notation and getting rid of a special-case print translation.
       
   195 Hence, the "uncurry"-expressions are printed the following way:
       
   196 a) fully applied "uncurry f p": explicit case-expression;
       
   197 b) partially applied with explicit double lambda abstraction in
       
   198 the body term "uncurry (%a b. t [a, b])": explicit paired abstraction;
       
   199 c) partially applied with eta-contracted body term "uncurry f":
       
   200 no special syntax, plain "uncurry" combinator.
       
   201 This aims for maximum readability in a given subterm.
   192 INCOMPATIBILITY.
   202 INCOMPATIBILITY.
   193 
   203 
   194 * Some old and rarely used ASCII replacement syntax has been removed.
   204 * Some old and rarely used ASCII replacement syntax has been removed.
   195 INCOMPATIBILITY, standard syntax with symbols should be used instead.
   205 INCOMPATIBILITY, standard syntax with symbols should be used instead.
   196 The subsequent commands help to reproduce the old forms, e.g. to
   206 The subsequent commands help to reproduce the old forms, e.g. to
   197 simplify porting old theories:
   207 simplify porting old theories:
   198 
   208 
   199   type_notation Map.map  (infixr "~=>" 0)
   209   type_notation Map.map  (infixr "~=>" 0)
   200   notation Map.map_comp  (infixl "o'_m" 55)
   210   notation Map.map_comp  (infixl "o'_m" 55)
       
   211 
       
   212 * Case combinator "prod_case" with eta-contracted body functions
       
   213 has explicit "uncurry" notation, to provide a compact notation while
       
   214 getting ride of a special case translation.  Slight syntactic
       
   215 INCOMPATIBILITY.
   201 
   216 
   202 * Theory Map: lemma map_of_is_SomeD was a clone of map_of_SomeD and has
   217 * Theory Map: lemma map_of_is_SomeD was a clone of map_of_SomeD and has
   203 been removed. INCOMPATIBILITY.
   218 been removed. INCOMPATIBILITY.
   204 
   219 
   205 * Quickcheck setup for finite sets.
   220 * Quickcheck setup for finite sets.