NEWS
changeset 15744 daa84ebbdf94
parent 15727 b43d82139a6c
child 15763 b901a127ac73
equal deleted inserted replaced
15743:814eed210b82 15744:daa84ebbdf94
    15 * ML: The exception LIST is no more, the standard exceptions Empty and
    15 * ML: The exception LIST is no more, the standard exceptions Empty and
    16   Subscript, as well as Library.UnequalLengths are used instead.  This
    16   Subscript, as well as Library.UnequalLengths are used instead.  This
    17   means that function like Library.hd and Library.tl are gone, as the
    17   means that function like Library.hd and Library.tl are gone, as the
    18   standard hd and tl functions suffice.
    18   standard hd and tl functions suffice.
    19 
    19 
    20   A number of functions, specifically those in the LIBRARY_CLOSED
    20   A number of basic functions are now no longer exported to the top ML
    21   signature, are now no longer exported to the top ML level, as they
    21   level, as they are variants of standard functions.  The following
    22   are variants of standard functions.  The following suggests how
    22   suggests how one can translate existing code:
    23   one can translate existing code:
       
    24 
    23 
    25     the x = valOf x
    24     the x = valOf x
    26     if_none x y = getOpt(x,y)
    25     if_none x y = getOpt(x,y)
    27     is_some x = isSome x
    26     is_some x = isSome x
    28     apsome f x = Option.map f x
    27     apsome f x = Option.map f x
   105 
   104 
   106 * Pure: removed obsolete type class "logic", use the top sort {}
   105 * Pure: removed obsolete type class "logic", use the top sort {}
   107   instead.  Note that non-logical types should be declared as
   106   instead.  Note that non-logical types should be declared as
   108   'nonterminals' rather than 'types'.  INCOMPATIBILITY for new
   107   'nonterminals' rather than 'types'.  INCOMPATIBILITY for new
   109   object-logic specifications.
   108   object-logic specifications.
       
   109 
       
   110 * Pure: command 'no_syntax' removes grammar declarations (and
       
   111   translations) resulting from the given syntax specification, which
       
   112   is interpreted in the same manner as for the 'syntax' command.
   110 
   113 
   111 * Pure: print_tac now outputs the goal through the trace channel.
   114 * Pure: print_tac now outputs the goal through the trace channel.
   112 
   115 
   113 * Pure: reference Namespace.unique_names included.  If true the
   116 * Pure: reference Namespace.unique_names included.  If true the
   114   (shortest) namespace-prefix is printed to disambiguate conflicts (as
   117   (shortest) namespace-prefix is printed to disambiguate conflicts (as