about summary refs log tree commit diff stats
path: root/020run.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-06-17 12:39:09 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-06-17 12:39:09 -0700
commitab6ed192b75f084a023cde85ba5b2b65e741d966 (patch)
tree28540a0567ee19b0805831e1e433c65f94ff6c1a /020run.cc
parentdc347ce2d95504a98bb542b48041f516a7f37003 (diff)
downloadmu-ab6ed192b75f084a023cde85ba5b2b65e741d966.tar.gz
1585
Diffstat (limited to '020run.cc')
-rw-r--r--020run.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/020run.cc b/020run.cc
index 7cc587a8..90413df3 100644
--- a/020run.cc
+++ b/020run.cc
@@ -177,7 +177,7 @@ void run(string form) {
 vector<double> read_memory(reagent x) {
 //?   cout << "read_memory: " << x.to_string() << '\n'; //? 2
   vector<double> result;
-  if (isa_literal(x)) {
+  if (is_literal(x)) {
     result.push_back(x.value);
     return result;
   }
@@ -215,7 +215,7 @@ bool is_dummy(const reagent& x) {
   return x.name == "_";
 }
 
-bool isa_literal(const reagent& r) {
+bool is_literal(const reagent& r) {
   return SIZE(r.types) == 1 && r.types.at(0) == 0;
 }