Commit 5c8b6d0f authored by Jeff Smits's avatar Jeff Smits

Fixed explode primitive, all tests succeed again

parent ef2caae1
......@@ -25,7 +25,7 @@ pub fn get_constructor<'d, 'f: 'd>(
Term::Long(_) |
Term::Real(_) => Ok(targs[0].clone()),
Term::List(_) => Ok(context.factory.nil()),
Term::String(v) |
Term::String(v) => Ok(context.factory.string(format!("{:?}", v))),
Term::Application(v, _) => Ok(context.factory.string(v.clone())),
Term::Placeholder(_, _) => Ok(context.factory.string("<>")),
Term::Blob(ref b) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment