Cátedra: Cabrera
Fecha: Primera Oportunidad - Segundo Cuatrimestre 2007
Día: 16/11/2007
Hacer un predicado que devuelva en una lista los enteros de N a 1.
![<tex>g(3,L) \longrightarrow L=[3,2,1] </tex> <tex>g(3,L) \longrightarrow L=[3,2,1] </tex>](lib/plugins/latex/images/72c256090fefd04a3c15340f68b29048004434c8_0.png)
![<tex>g(0,L) \longrightarrow L=[] </tex> <tex>g(0,L) \longrightarrow L=[] </tex>](lib/plugins/latex/images/d06b5f2cb3bf9add540dc0dfbadedb0420a96b75_0.png)
Escriba un predicado que, dada una lista, retorne el menor de sus elementos.
Hacer un predicado que reemplaza un elemento por otro en una lista.
![<tex> r[1,3,4,1,6,8],1,7,L) \longrightarrow L=[7,3,4,7,8] </tex> <tex> r[1,3,4,1,6,8],1,7,L) \longrightarrow L=[7,3,4,7,8] </tex>](lib/plugins/latex/images/0765d0d4152e2ee554ae3879f9e6ea5043e8625a_0.png)
Obtener la profundidad de una lista genérica.