From 08065437a747cf6311d9a99f06a6fcd4cd961758 Mon Sep 17 00:00:00 2001 From: Sebastian Steger Date: Wed, 20 Aug 2025 15:03:14 +0200 Subject: [PATCH] Strings --- haskell/01-expressions/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/haskell/01-expressions/README.md b/haskell/01-expressions/README.md index c390fab..be76606 100644 --- a/haskell/01-expressions/README.md +++ b/haskell/01-expressions/README.md @@ -64,6 +64,12 @@ Expression | Type (:t) | Value | Comment ## Strings +Expression | Type (:t) | Value | Comment +--- | --- | --- | -------- +`"hello" ++ " world"` | `String` | `"hello world"` | String concatenation +`length "hello"` | `Int` | `5` | Length of the string +`null ""` | `Bool` | `True` | Checks if the string is empty + ## Control Structures ## Lists \ No newline at end of file