June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -1,21 +1,19 @@
|
|||
void
|
||||
map(list l, void (*fp)(object))
|
||||
{
|
||||
l_ucall(l, fp, 0);
|
||||
l.ucall(fp, 0);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
out(object o)
|
||||
{
|
||||
o_(o, "\n");
|
||||
}
|
||||
|
||||
|
||||
integer
|
||||
main(void)
|
||||
{
|
||||
map(l_effect(0, 1, 2, 3), out);
|
||||
list(0, 1, 2, 3).map(out);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue