The operations on texts <#2478#>HEAD<#2478#> and <#2479#>TAIL<#2479#> that are available in Elan-0 differ markedly from the standard operations in the language, being much more list-oriented. In standard Elan they can be programmed as
The following program repeatedly rotates its input text by one position until the original is obtained again.