src/Pure/Isar/expression.ML
changeset 28701 ca5840b1f7b3
parent 28697 140bfb63f893
child 28795 6891e273c33b
equal deleted inserted replaced
28700:fb92b1d1b285 28701:ca5840b1f7b3
    83 
    83 
    84 (* Parameters of expression (not expression_i).
    84 (* Parameters of expression (not expression_i).
    85    Sanity check of instantiations.
    85    Sanity check of instantiations.
    86    Positional instantiations are extended to match full length of parameter list. *)
    86    Positional instantiations are extended to match full length of parameter list. *)
    87 
    87 
    88 fun parameters thy (expr, fixed) =
    88 fun parameters thy (expr, fixed : (Name.binding * string option * mixfix) list) =
    89   let
    89   let
    90     fun reject_dups message xs =
    90     fun reject_dups message xs =
    91       let val dups = duplicates (op =) xs
    91       let val dups = duplicates (op =) xs
    92       in
    92       in
    93         if null dups then () else error (message ^ commas dups)
    93         if null dups then () else error (message ^ commas dups)