Gestalte GoConqr mit. Was sollen wir als Nächstes hinzufügen?

Mindmap

Modules

carlos marin Ingeniería Spanisch

Inhalt der Mindmap

Modules

  1. a collection of

    • Functions
      • Types
        • typeclasses
          • related to each other
  2. Advantages

    • reuse of functions
    • organization
  3. haskell standard library

    • divided into modules
      • specific use
        • List manipulation
        • concurrent progtramming
        • a complex number module
  4. syntax

    • import <module name>
    • in the header
    • each in separate rows
    • example
      • in GHCi
        • :m + Data.list
      • in Script
        • the whole module
          • import Data.list
        • specific functions
          • import Data.List (nub, sort)
  5. Types

    • Data.List
      • Intersperse
        • intersperse 0 [1,2,3]
          • [1,0,2,0,3]
      • Intercalate
        • intercalate " " ["A","B","C"]
          • "A B C"
      • Transpose
      • concat
        • concat ["car","los"]
          • "carlos"
      • concatMap
        • applies function and concatenates
      • and
        • apply function to a list

Informationen

Beschreibung
Ingeniería Mindmap am Modules, erstellt von carlos marin am 20/03/2018.
Erstellt von
carlos marin
Aufrufe
2
Verlauf
  • Erstellt von PUENTES VIVIESCAS CARLOS ALFREDO · 20 Mär 2018
  • Kopiert von carlos marin · 20 Mär 2018
Bewertung

Mehr zu Haskell Modules and Libraries

Feedback

Worum geht es?

Was sollen wir als Nächstes hinzufügen?