anchor.diff:                                            | (_, _, LetDec {varName=name}) -> [name]
                                             | _ -> failwith "This should never happen") namedDecs)
   
  +// Takes in module's declarations and finds the value declaratin names in the module
   let valueDecsInModule (Module decs) =
       let namedDecs = List.filter (fun dec -> match dec with
                                                   | (_, _, FunctionDec _) -> true
  
positive.code:                              | (_, _, UnionDec {name=name}) -> name
                               | _ -> failwith "This should never happen") typeDecs
  
  let opensInModule (Module decs) =
      let opens = List.filter (fun dec -> match dec with
                                              | (_, _, OpenDec _) -> true
  
negative.code: 
  open Ast
  
  // Takes in module's declarations and finds the name of the module
  let nameInModule (Module decs) =
      let names = List.filter (fun dec -> match dec with
                                              | (_, _, ModuleNameDec _) -> true
  