null
US
Iniciar Sesión
Regístrate Gratis
Registro
Hemos detectado que no tienes habilitado Javascript en tu navegador. La naturaleza dinámica de nuestro sitio requiere que Javascript esté habilitado para un funcionamiento adecuado. Por favor lee nuestros
términos y condiciones
para más información.
Siguiente
Copiar y Editar
¡Debes iniciar sesión para completar esta acción!
Regístrate gratis
12585887
Haskell - Starting Out
Descripción
Mapa del Capitulo 2
Sin etiquetas
capitulo2
Mapa Mental por
FONTALVO ROMERO EDUARDO JOSÉ
, actualizado hace más de 1 año
Más
Menos
Creado por
FONTALVO ROMERO EDUARDO JOSÉ
hace alrededor de 6 años
22
0
0
Resumen del Recurso
Haskell - Starting Out
Haskell is a functional lenguage
Is very explicit in his functions
Can't combine different types of data
e.g. 5 + True
Haskell have many functions already defined
The functions have the value not the variables
Functions are defined in a similar way that they are called
We use ' to either denote a strict version of a function
We can name our functions
The functions can't begin with uppercase letters
Haskell allows to work with lists
We can name our lists
Strings are just lists of characters
['H','E','L','L','O']
Can put to lists together with ++ or :
When use ++ Haskell walks through the whole list on the left side of the ++
To put something at the beginning of a list use the :
In Haskell the lists have a particular structure
The head is the first element in the list
The tail is the all list less the head
Last is the last element in the list
Init is the all list less the last element in the list
The lists can be created starting from ranges or limits
e.g. [1..20]
You can also use ranges to make infinite lists by just not specifying an upper limit.
You can create lists comprehension
hey're normally used for building more specific sets out of general sets
Mostrar resumen completo
Ocultar resumen completo
¿Quieres crear tus propios
Mapas Mentales
gratis
con GoConqr?
Más información
.
Similar
EXAMEN SEMANAL DE ORTOPEDIA Y TRAUMATOLOGIA
dr_nevarez
Capítulo 2: La evolución del pensamiento administrativo
Alejandro Lee
PASO 10
Paco Tur Fornés
EL GOBIERNO DE CARLOS SALINAS
ggomez761
Goniometría
Michelle Guamaní
Cuenta: registro detallado de los cambios habidos en un activo, pasivo o cáapital contable.
marioleivaorigin
PASO 12
Paco Tur Fornés
PASO 13
Paco Tur Fornés
Teoría e historiografía del arte _hecho por Emely B
Emely Baca
Morfogenesis del objeto de uso
Laura Avendaño
LA CIUDAD LETRADA-CAPITULO II
Paula Daniela Antolinez Murillo
Explorar la Librería