You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CodingUnit edited this page Dec 24, 2011
·
5 revisions
Lists and Indexed Iteration
Category: Lists, Tuples and Options
Description: This sample shows simple uses of 'iteri'
Code:
using Nemerle;
using Nemerle.Collections;
using System;
using System.Console;
def data = ["Cats", "Dogs", "Mice", "Elephants"];
data.IterI((i, x) => WriteLine($"item $i: $x"))