add string table, StringList representation

This commit is contained in:
Mark Thom
2018-08-21 00:22:16 -06:00
parent 01d6ef099f
commit 013eb29e2b
11 changed files with 36 additions and 18 deletions

View File

@@ -2,6 +2,7 @@ use prolog::num::bigint::BigInt;
use prolog::num::{Float, ToPrimitive, Zero};
use prolog::num::rational::Ratio;
use prolog::ordered_float::*;
use prolog::string_list::*;
use prolog::tabled_rc::*;
use std::cell::{Cell, RefCell};
@@ -531,7 +532,7 @@ pub enum Constant {
Atom(ClauseName),
Char(char),
Number(Number),
String(TabledRc<String>),
String(StringList),
Usize(usize),
EmptyList
}