... knowledge of JPEG or any of its algorithms, nor of specialized functionalprogramming techniques. Basic knowledge of functional programming (recursion, manipulation of lists and the use of types, ... tablescan be fetched by identifying number.evalSOF :: SOF -> State -> SofevalSOF (dim,xs) (~(_,sof),_,qua,_) = (dim, foldr f sof xs)where f (i,d,q) = subst i (d,qua q)evalDHT :: DHT ... the standard prelude of most functional languages.Six functions of general nature that we need are not dened in the Gofer prelude. They are denedin this section, and may also serve to get used...