O GoConqr está de visual novo! Conte para nós o que você achou.

Mapa mental

Modules

HERRERA BOHORQUEZ JAVIER FELIPE Espanhol

Conteúdo do mapa

Modules

  1. collection of

    • types
    • related functions
    • typeclasses
  2. A program in haskell is based in a collection of modules

    • use functions defined in these to perform something
      • Functions can be used several times
  3. Haskell Standard library split in 4 modules

    • Data.List
      • Provides useful functions for editing lists
        • Intercalate
        • Transpose
        • Concat
        • intersperse
    • Data.Char
      • Exports functions that deal with
        • Islower
        • IsDigit
        • IsMark
        • IsNumber
    • Data.Map
      • lists that are used to store key-value pairs where ordering doesn't matter
        • FromList
        • Empty
    • Data.Set
      • They have to be called using the import command before defining the functions
        • all functions that have in a module are available when we imported them
      • Offers mathematical sets where all its elements are unique
        • FromList
        • intersection
        • difference
  4. it's good practice to take functions and types that work towards a similar purpose and put them in a module

    • allow make more easily reuse those functions in other programs by just importing your module

Informações

Descrição
Mapa Mental sobre Modules, criado por HERRERA BOHORQUEZ JAVIER FELIPE em 08-10-2020.
Visualizações
0
Avaliação

Mais sobre Haskell Modules and Libraries

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?