From fd7bd0eb5a9d5a45d7b02ab4bc3bd7a0e0c329d8 Mon Sep 17 00:00:00 2001 From: Ryan Scott Date: Sat, 4 May 2024 11:48:50 -0400 Subject: [PATCH] Mention #1058 in the CHANGELOG --- CHANGELOG.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index d4baadc57..ddccb51c1 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -9,6 +9,15 @@ * Add `_TypeP` and `_InvisP` `Prism`s for the `Pat` data type. * Add a `_TypeE` `Prism` for the `Exp` data type. * Add a `_SCCP` `Prism` for the `Pragma` data type. +* Add the following `Setter`s for prepending and appending elements: + * `(<>:~)`: prepend an element to the front via `(<>)`. + * `(<<>:~)`: append an element to the back via `(<>)`. + * `(<|~)`: cons an element to the front via `(<|)`. + * `(<<|~)`: cons an element to the front via `(<|)` and return the result. + * `(|>~)`: snoc an element to the back via `(|>)`. + * `(<|>~)`: snoc an element to the back via `(|>)` and return the result. + Each of these also has a variant that end with `=` instead of `~` (e.g., + `(<>:=)`) for working in a `MonadState` setting. 5.2.3 [2023.08.24] ------------------