lean2/src/util/lbool.cpp
Leonardo de Moura 7eb9496643 feat(util): add missing lbool.* files
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-04-24 12:27:19 -07:00

16 lines
417 B
C++

/*
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "util/lbool.h"
namespace lean {
std::ostream & operator<<(std::ostream & out, lbool b) {
switch (b) {
case l_false: return out << "l_false";
case l_true: return out << "l_true";
default: return out << "l_undef";
}
}
}