MCPcopy Create free account
hub / github.com/agraef/pure-lang / list_expr

Function list_expr

pure/expr.cc:195–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195static expr list_expr(exprl::const_iterator it, exprl::const_iterator end)
196{
197 if (it == end)
198 return expr::nil();
199 else {
200 expr x = *it;
201 return expr::cons(x, list_expr(++it, end));
202 }
203}
204
205expr expr::list(const exprl& xs)
206{

Callers 1

listMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected