Skip to content

Question about generated variable-names #3082

@flexoron

Description

@flexoron

v0.9.4-641-gdc05526c

$ scryer-prolog -f
?- use_module(library(lists)).
   true.

?- L=[_|[L|_]], length(L,18).
   L = [_A,L,_B,_C,_D,_E,_F,_G,_H,_I,_J,_K,_L,_M,_N,_O,_P,_Q].
?- L=[_|[L|_]], length(L,19).
   L = [_A,L,_B,_C,_D,_E,_F,_G,_H,_I,_J,_K,_L,_M,_N,_O,_P,_Q,_355]. % Does _355 have a special meaning?

?- L=[_|[_|_]], length(L,19).
   L = [_A,_B,_C,_D,_E,_F,_G,_H,_I,_J,_K,_L,_M,_N,_O,_P,_Q,_R,_S].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions