Skip to content

Use of deprecated name/2 predicate #24

@pmoura

Description

@pmoura

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions