From 3faf92434191bc0166222308d1d288f8b0f6dd5f Mon Sep 17 00:00:00 2001 From: twells46 Date: Sun, 25 Jan 2026 11:00:22 -0600 Subject: Initial commit --- notes | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 notes (limited to 'notes') diff --git a/notes b/notes new file mode 100644 index 0000000..c899a16 --- /dev/null +++ b/notes @@ -0,0 +1,11 @@ +Consider concatMap + +Use dropWhile to drop based on a specific condition + +takeWhile returns the longers possible prefix that satisfies a condition +span does the same, but also returns the rest of the list (2 element tuple) + +Cycle repeats a given sequence infinitely: +cycle [1,2,3] = [1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3]... + +Repeat is like cycling a single element -- cgit v1.2.3