fork download
  1. read_animal(X) :-
  2. write('please type animal name:'),
  3. nl,
  4. read(X),
  5. animal(X).
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
dogggg
compilation info
/home/7lmnL0/gplcILG3gb.o: In function `predicate(read_animal/1)':
(.text+0x86): undefined reference to `predicate(animal/1)'
collect2: ld returned 1 exit status
compilation failed
stdout
Standard output is empty