From 870bc824371d504a03af937f326216302210a875 Mon Sep 17 00:00:00 2001 From: Wilko Manger Date: Fri, 21 Jul 2023 13:56:16 +0200 Subject: [PATCH] Remove shadowed names in documentation --- docs/source/tutorial/typesfuns.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/tutorial/typesfuns.rst b/docs/source/tutorial/typesfuns.rst index ece9b19357..1ce953de06 100644 --- a/docs/source/tutorial/typesfuns.rst +++ b/docs/source/tutorial/typesfuns.rst @@ -1350,7 +1350,7 @@ character: splitAt : Char -> String -> (String, String) splitAt c x = case break (== c) x of - (x, y) => (x, strTail y) + (l, r) => (l, strTail r) ``break`` is a library function which breaks a string into a pair of strings at the point where the given function returns true. We then