I've asked around how to construct a list with the facts ordered by a specific character inside it and the solution given was a KEY-Value return. Like for instance :
1-package(N,3,1).
However what I truly need is to access the variable in the position N. I've tried separating the key from the fact with [K-H|T]
, H giving me package(N,3,1)
, but how do I access N?