Skip to content

v17.11.3

Latest
Compare
Choose a tag to compare
@da-liii da-liii released this 05 Feb 03:17
· 1 commit to main since this release
> bin/goldfish --version
Goldfish Scheme 17.11.3 by LiiiLabs
based on S7 Scheme 11.2 (30-Dec-2024)

Goldfish Scheme v17.11.3, the community version of Liii Scheme, will be integrated into the next beta release of Liii STEM. It will be used to connect with DeepSeek, facilitating structured STEM communication between users and large models. Additionally, Goldfish Scheme v17.11.3 will be included in the community edition of Liii STEM, the Mogan STEM Suite v1.2.9.9.

New Contributors

  • Yancheng Li
  • Xinyi Yu
  • Renkai Ge
  • Qingyu Chen

Significant Changes

  1. Case classes have been largely refined, with % indicating instance methods and @ indicating static methods.
  2. Instance methods of the rich-string case class (such as higher-order functions map and for-each) now support rich-char parameters with Unicode support.
  3. The rich-string case class has added a commonly used function: split.

Example Code

(((box "2025/02/05/上午/11点") :split "/")
 :make-string ":")

; => "2025:02:05:上午:11点"
  1. box converts the string "2025/02/05/上午/11点" into a rich-string case class.
  2. Using the :split instance method of rich-string, the string is split into a rich-vector of length 5.
  3. Using the :make-string instance method of rich-vector, the delimiter is changed from / to :.