 
 # Utils
 
+unique = (list) ->
+  setToArray arrayToSet list
+
 join = (seq1, seq2) ->
   seq1.concat seq2
 

      malformed ctx, lhs, 'missing value in definition'
      # TODO: take into account fakes (using better pairs function) and new lines
      rhs = fake_()
    definitionPairCompile ctx, lhs, rhs)

  shouldRecompile = yes
  while shouldRecompile

      jsNoop()

findDefinitionsIncludingDeps = (ctx, names) ->
  findDefinitions ctx, setToArray (findDeps ctx) unique names

findDefinitions = (ctx, names) ->
  auxiliaries = ctx.auxiliaries()
