• Shaarli
  • Tag cloud
  • Picture wall
  • Daily
  • RSS
  • Login
4251 shaares
 
Filters
8 results tagged clojure

Tutorial: Simplify and Optimize Your YAML with YAMLScript - Ingy döt Net, YAML LLC

QRCode

Tutorial: Simplify and Optimize Your YAML with YAMLScript - Ingy döt Net, YAML LLC

Nobody likes YAML (or anything for that matter) when its a giant and repetitive mess. Of course, there are already existing technologies like Helm and Kustomize that help provide make YAML nicer for Kubernetes. The new kid on the block is YAMLScript. Being a complete programming language (built over a vast and mature ecosystem) its capabilities are effectively limitless. That said, its primary focus is on refactoring and improving existing and new large YAML configurations. YAMLScript can help you make the most of YAML in any domain; even those that already make great use of Helm and Kustomize. Having been created by an original inventor and current lead maintainer of the YAML data language (Ingy döt Net) you can count on it meshing well with the YAML you already know. In this hands on interactive tutorial, Ingy will teach you how to make the most of YAML and YAMLScript.

https://www.youtube.com/watch?v=Cdi3Q4Wrt48
June 20, 2025 at 1:48:09 PM EDT *
youtube yaml clojure
FILLER

Calling doc on the value of a variable

QRCode

I'm just starting out with Clojure and I was trying to implement vim's keywordprg, which displays documentation for the word under the cursor. I want to call the doc() function on the value of a variable, but I'm not having any luck:

user=> (let [x "println"] (doc x))
-------------------------
user/x
nil

In Perl, I think I could use the eval() function, but I'm not seeing anything comparable in Clojure. Any suggestions? Thanks!

https://www.reddit.com/r/Clojure/comments/1hbxhum/calling_doc_on_the_value_of_a_variable/
April 3, 2025 at 9:56:06 AM EDT *
clojure reddit
FILLER

Clojure by Example

QRCode
https://kimh.github.io/clojure-by-example/#recur
February 11, 2025 at 10:00:20 AM EST *
clojure
FILLER

Pattern (Java SE 9 & JDK 9 )

QRCode

Java Regular Expressions

https://docs.oracle.com/javase/9/docs/api/java/util/regex/Pattern.html
February 6, 2025 at 9:07:10 AM EST *
java regex clojure
FILLER

Clojure - Cheatsheet

QRCode
https://clojure.org/api/cheatsheet
January 3, 2025 at 7:39:16 AM EST *
clojure programming
FILLER

Array languages for Clojurians

QRCode

As a lisp, Clojure of course qualifies as one such mind-altering substance. (It arguably qualifies again on the basis of its focus on immutability.) But Blazeski’s article points out that array-based languages such as J, its predecessor APL ("A Programming Language"), and the proprietary q are equally mind-expanding. Let’s see what was – and remains – so compelling about the array programming approach to problems, and compare it to Clojure’s approach.

One operator to do both is pretty handy. We can of course replicate each with out-of-the-box Clojure:

(map (partial + 2) [2 3 4]) ; => (4 5 6)
(map + [2 3 4] [1 2 3])     ; => (3 5 7)
http://www.appliedscience.studio/articles/array-programming-for-clojurists.html
December 16, 2024 at 3:04:55 PM EST *
clojure programming
FILLER

What Web Framework Should I Use in Clojure?

QRCode

In this guide, I describe the available Clojure web framework options and give my recommendations.

https://ericnormand.me/mini-guide/what-web-framework-should-i-use-in-clojure
December 12, 2024 at 10:16:47 AM EST *
clojure webdesign programming
FILLER

Grokking Hash Array Mapped Tries (HAMTs) - by Nick M

QRCode

A simple and intuitive explanation of what Hash Array Mapped Tries are and where they're used.

HAMTs are frequently used in functional programming languages, such as Clojure and Scala in order to implement persistent data structures like maps and sets. HAMTs provide efficient lookup, insertion, and deletion operations while ensuring immutability. They’re also well-suited for concurrent environments where multiple threads or processes access and modify shared data structures simultaneously. Their structural sharing property allows for efficient copying and sharing of data, reducing the need for expensive locking mechanisms.

https://photonlines.substack.com/p/grokking-hash-array-mapped-tries
July 15, 2024 at 2:24:31 PM EDT *
clojure programming yaml
FILLER
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community