From 00af688138ab8605e774c07d01032d3fc3a07954 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Sat, 20 Apr 2024 13:31:51 +0100 Subject: Add space --- src/gleam/list.gleam | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gleam/list.gleam b/src/gleam/list.gleam index 9693c05..d53e95e 100644 --- a/src/gleam/list.gleam +++ b/src/gleam/list.gleam @@ -1116,7 +1116,9 @@ pub fn intersperse(list: List(a), with elem: a) -> List(a) { /// // -> Error(Nil) /// ``` /// -@deprecated("Gleam lists are immutable linked lists, so indexing into them is a slow operation that must traverse the list. +@deprecated(" + +Gleam lists are immutable linked lists, so indexing into them is a slow operation that must traverse the list. In functional programming it is very rare to use indexing, so if you are using indexing then a different algorithm or a different data structure is likely more appropriate. ") -- cgit v1.2.3