3
Infinite rest (clj.social)
submitted 4 months ago by planet@clj.social to c/clojure@lemmy.ml

Infinite rest

https://blog.ambrosebs.com/2024/07/09/infinite-rest.html

Some functions types in Clojure seamlessly handle infinite arguments, while others misuse them and freeze our programs. Clojure 1.11.1 user=> (apply (fn [& args]) (range)) nil user=> (apply (fn []) (range)) ^C ;; loops forever Let’s level the...

#clojure #clj #cljs !clojure@lemmy.ml @clojure

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 10 Jul 2024
3 points (100.0% liked)

Clojure programming language discussion

451 readers
2 users here now

Clojure is a Lisp that targets JVM and JS runtimes

Finding information about Clojure

API Reference

Clojure Guides

Practice Problems

Interactive Problems

Clojure Videos

The Clojure Community

Clojure Books

Tools & Libraries

Clojure Editors

Web Platforms

founded 4 years ago
MODERATORS