Circular shifting

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


#litout2542#

The following program repeatedly rotates its input text by one position until the original is obtained again.


#litout2544#