HexLibraryHexLibrary
</> HexCodeSign inSign up
PythonJavaScriptTypeScriptCC++JavaPHPGoRustRubyBashSQLLuaPerlCOBOLPascalDelphiFortranDartSwiftC#JuliaGroovyRElixirHaskellKotlinScalaClassic ASPClipperMS-DOS
LESSONS
Introduction to HaskellVariables (let)Data TypesOperatorsStringsListsConditions (if / then / else)Iteration (map / sum)Functions
REFERENCE
📖 Overview
🖥️ Output
📦 Value & Type
🔢 Numbers & Math
✍️ String
📚 List
🔀 Condition
🧩 Function
Haskell›REFERENCE

Haskell — Command Reference

The most used Haskell commands — each with an explanation, working example, and real-world usage. A purely functional, strongly typed, lazily evaluated language.

7 categories · 15 commands

🖥️

Output

putStrLn, print, and do.

putStrLn / printdo (sequencing)
2 commands →
📦

Value & Type

let binding and show/read.

let (binding)show / read
2 commands →
🔢

Numbers & Math

Operators and mathematical functions.

Math operatorssqrt / abs / ^
2 commands →
✍️

String

String = list of characters.

++ / lengthmap toUpper (Data.Char)isInfixOf (Data.List)
3 commands →
📚

List

head, !!, length, ++, and map.

head / !! / lengthmap / sum / [1..n]
2 commands →
🔀

Condition

if-then-else (expression).

if / then / elseGuards ( | )
2 commands →
🧩

Function

Definition, type signature, and lambda.

Function definitionLambda ( \ )
2 commands →
HexLibraryHexLibrary

Learn programming more clearly. Every command is explained line by line with colors, reinforced with runnable exercises, test your code instantly — all in one place, free.

Learn

  • Home
  • Languages & Lessons
  • HexCode

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Use

Other Projects

  • HexToolz
  • Free Service Manuals
© 2026 HexLibrary · The clearest way to learn code