Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of deprecated name/2 predicate #24

Open
pmoura opened this issue Aug 12, 2019 · 0 comments
Open

Use of deprecated name/2 predicate #24

pmoura opened this issue Aug 12, 2019 · 0 comments

Comments

@pmoura
Copy link

pmoura commented Aug 12, 2019

The following call to the deprecated name/2 predicate can be replaced with a call to the standard atom_codes/2 predicate:

take_var(L):- name(ab11cf6h33,Lf),append(Lf,[95,116,111,107,46,116,120,116],Lft),

Never use name/2 when the first argument is know to be an atom and never a number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant