Project

General

Profile

Revision aa223e69 src/env.ml

View differences:

src/env.ml
37 37
  IMap.mem ident env
38 38

  
39 39
let iter env f = IMap.iter f env
40
 
40

  
41
(* Merges x and y. In case of conflicting definitions,
42
   overwrites definitions in x by definitions in y *)
41 43
let overwrite x y =
42 44
  IMap.merge (
43 45
    fun k _old _new -> match _new with

Also available in: Unified diff