src/HOL/Import/importrecorder.ML
changeset 32740 9dd0a2f83429
parent 21858 05f57309170c
child 32960 69916a850301
equal deleted inserted replaced
32739:31e75ad9ae17 32740:9dd0a2f83429
    70 datatype history_entry = StartReplay of string*string  
    70 datatype history_entry = StartReplay of string*string  
    71 		       | StopReplay of string*string
    71 		       | StopReplay of string*string
    72 		       | AbortReplay of string*string
    72 		       | AbortReplay of string*string
    73 		       | Delta of deltastate list
    73 		       | Delta of deltastate list
    74 
    74 
    75 val history = ref ([]:history_entry list)
    75 val history = Unsynchronized.ref ([]:history_entry list)
    76 val history_dir = ref (SOME "")
    76 val history_dir = Unsynchronized.ref (SOME "")
    77 val skip_imports = ref false
    77 val skip_imports = Unsynchronized.ref false
    78 
    78 
    79 fun set_skip_import b = skip_imports := b
    79 fun set_skip_import b = skip_imports := b
    80 fun get_skip_import () = !skip_imports
    80 fun get_skip_import () = !skip_imports
    81 
    81 
    82 fun clear_history () = history := []
    82 fun clear_history () = history := []