

?- atom_string(foo, Z)
.
Z = "foo".
?- atom_string("foo", Z)
.
Z = "foo".
?- atom_string(Z, "foo")
.
Z = foo.
?- atom_string(Z, 'foo')
.
Z = foo.
Did you know ... | Search Documentation: |
![]() | Predicate atom_string/2 |
?- atom_string(foo, Z)
.
Z = "foo".
?- atom_string("foo", Z)
.
Z = "foo".
?- atom_string(Z, "foo")
.
Z = foo.
?- atom_string(Z, 'foo')
.
Z = foo.