el : int -> 'a list -> 'a

SYNOPSIS
Extracts a specified element from a list.

DESCRIPTION
el i [x0;x1;...;xn] returns xi. Note that the elements are numbered starting from 0, not 1.

FAILURE CONDITIONS
Fails with el if the integer argument is negative or greater than the length of the list.

EXAMPLE
  # el 3 [1;2;7;1];;
  val it : int = 1

SEE ALSO
hd, tl.