Hi, all: I am a beginner in GNU prolog and now encounter a problem. Given a list that has been instantiated, I want to get its first element and assign its value to a variable. How can I do it? I have tried nth(1, List, Var), but it does not help. Could any body tell me?