Greetings.
My question is not directly related to
Haskell.
Is it possible to encode an array using lamda terms
only, and recover the term specified by an index term in O(1) time (in other
words in one step reduction, without cheating using several steps behind the
scenes)? Or is it possible in any rewriting system? I might not be making any
sense, but I am sure there are people out there who can read my mind, and
possibly put my question into better terminology.
Thanks