null
US
Entrar
Registre-se gratuitamente
Registre-se
Detectamos que o JavaScript não está habilitado no teu navegador. Habilite o Javascript para o funcionamento correto do nosso site. Por favor, leia os
Termos e Condições
para mais informações.
Próximo
Copiar e Editar
Você deve estar logado para concluir esta ação!
Inscreva-se gratuitamente
12587117
Haskell - Syntax in Functions
Descrição
Mapa Capitulo 4
Sem etiquetas
capitulo4
Mapa Mental por
FONTALVO ROMERO EDUARDO JOSÉ
, atualizado more than 1 year ago
Mais
Menos
Criado por
FONTALVO ROMERO EDUARDO JOSÉ
mais de 6 anos atrás
13
0
0
Resumo de Recurso
Haskell - Syntax in Functions
Pattern matching
we need to specify the patterns to which some data should conform
We can't use ++ in pattern matches
can define separate function bodies for different patterns
Recursion
We should use catch-all pattern
Unexpected inputs
Always need to match the pattern with the list comprehensions
Is possible modify the default functions
Guards
guards are a way of testing whether some property of a value (or several of them) are true or false
Guards are indicated by pipes that follow a function's name and its parameters
Works like an if but they are more readable
Let
bindings let you bind to variables anywhere
Are expressions of themselves
Case expressions
Is possible evaluate expressions based on the possible cases of the value of a variable
Are useful for pattern matching against something in the middle of an expression
Quer criar seus próprios
Mapas Mentais
gratuitos
com a GoConqr?
Saiba mais
.
Semelhante
CONOCIMIENTO
Cesar Andres Serrano Torres
Capítulo 4: Ética y responsabilidad social
Alejandro Lee
Expresión Sonora
roo_0506
condicionamiento clasico mecanismos
cheila vergara
SEGREDO DOS GÊNIOS
Euler RA
TERMOQUÍMICA
Yani
Atos Administrativos
Alynne Saraiva
5 passos para organizar e monitorar o desempenho nos estudos
Alessandra S.
EA-HSG-2012 Questões achadas no app QUIZADA na playstore
carloshenriquetorrez .
SISTEMA ENDÓCRINO
STELA FAUSTINO
PLANEJAMENTO DE LÍNGUA PORTUGUESA 2017 - 1ª ETAPA
Adriana Marcia Couto Poletti
Explore a Biblioteca