eigenmath/list.cpp
George Weigt 94809475aa edit
2006-01-16 12:37:31 -07:00

13 lines
169 B
C++

// Create a list from n things on the stack.
#include "stdafx.h"
#include "defs.h"
void
list(int n)
{
int i;
push(symbol(NIL));
for (i = 0; i < n; i++)
cons();
}