filter choices
in
filter_phase_3
- (List.map (fun o,l -> o,List.sort choices_compare_by_passes l)
+ (List.map (fun (o,l) -> o,List.sort choices_compare_by_passes l)
(uniq (List.stable_sort choices_compare choices)))
in
choices
| GrafiteTypes.Command_error msg -> None, "Error: " ^ msg
| CicNotationParser.Parse_error err ->
None, sprintf "Parse error: %s" err
- | Unix.Unix_error (code, api, param) ->
+ | Unix.Unix_error (code, api, _param) ->
let err = Unix.error_message code in
None, "Unix Error (" ^ api ^ "): " ^ err
| HMarshal.Corrupt_file fname -> None, sprintf "file '%s' is corrupt" fname
| MatitaEngine.TryingToAdd msg ->
None, "Attempt to insert an alias in batch mode: " ^ Lazy.force msg
| MatitaEngine.AlreadyLoaded msg ->
- None, "The file " ^ Lazy.force msg ^ " needs recompilation but it is
- already loaded; undo the inclusion and try again."
+ None, "The file " ^ Lazy.force msg ^ " needs recompilation but it is already loaded; undo the inclusion and try again."
| MatitaEngine.FailureCompiling (filename,exn) ->
None, "Compiling " ^ filename ^ ":\n" ^ snd (to_string exn)
| NCicRefiner.AssertFailure msg ->