# Calling call//1 makes DCG nonfunctional? (+ "difference list" in DCGs vs. "difference list" for appending)

**URL:** <https://swi-prolog.discourse.group/t/calling-call-1-makes-dcg-nonfunctional-difference-list-in-dcgs-vs-difference-list-for-appending/2616>\
**Category:** Help!\
**Tags:** discussion, how-to\
**Created:** [July 8, 2020, 9:26pm UTC](https://swi-prolog.discourse.group/t/calling-call-1-makes-dcg-nonfunctional-difference-list-in-dcgs-vs-difference-list-for-appending/2616 "2020-07-08T21:26:57Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![dtonhofer](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/dtonhofer/32/902_2.png) [@dtonhofer](https://swi-prolog.discourse.group/u/dtonhofer)\
**Post date:** [July 26, 2020, 3:46pm UTC](https://swi-prolog.discourse.group/t/calling-call-1-makes-dcg-nonfunctional-difference-list-in-dcgs-vs-difference-list-for-appending/2616/30 "2020-07-26T15:46:26Z")

</div>

> You are taking parts of this out of context, you really need to read the chapter as a whole. In other words this is not a reference book it is a book for reading and learning.

Yes I know … but with apologies, it’s just wrong to use Lisp that way. No. Non. Nyet. And Lisp is not imperative. For imperative style, there is Pascal (as the author correctly says).

I suppose nobody wrote up anything about the array diagrams because, well, they are just array diagrams as we are producing all the time. Possibly more unusual in 1981 than today. And it’s just O’Keefe who calls them “Reynolds diagrams”, so they cannot be found under that name.

I didn’t find my softcover copy of Gries’ book, but here is the page:

[![Array-Diagram-from-Gries-Science-of-Programming-1981.png](https://global.discourse-cdn.com/free1/uploads/swiprolog/original/2X/7/78ceb7b879b73f30bc923432e60767a7c6baaa96.png)](https://postimg.cc/8JNwPYK9)

[Previous page](https://swi-prolog.discourse.group/t/calling-call-1-makes-dcg-nonfunctional-difference-list-in-dcgs-vs-difference-list-for-appending/2616.md?page=1)
