/* SI 413 Fall 2011
 * Implementations of methods related to Values and type checking.
 */

#include "value.hpp"

ostream& operator<< (ostream& out, VType vt) {
  switch (vt) {
    case NUM_T:  return out << "NUM";
    case BOOL_T: return out << "BOOL";
    case FUN_T:  return out << "FUNC";
    case NONE_T: return out << "NONE";
  }
}