#lazyEvaluation

2025-06-12

#softwareEngineering #programming #commonLisp #assertions #algebra - tight, efficient #lazyEvaluation vector multiplication with #series .
screwlisp.small-web.org/progra

I use assert in lisp, which automatically generates an interactive in-context failure resolution which I utilize in the article, where the lazy cotruncation series feature was not wanted. Shows off a #lisp useage: classic.

@vnikolov what do you think of this example of assert viz your assertables?
+ @kentpitman

An emacs slime lisp repl from the article:
CL-USER> (funcall * '(1 2) '((3) (4)))
11
CL-USER> (funcall ** '(1 2) '((3) (4) (5)))
The old value of A is (1 2).
Do you want to supply a new value?  (y or n) n
The old value of B is ((3) (4) (5)).
Do you want to supply a new value?  (y or n) y
Type a form to be evaluated:
'((3) (4))
11The emacs slime interface to the underlying lisp interactive resolution for the failed assertion. Menu options include CONTINUE, RETRY, *ABORT and ABORT. You can see "SB-KERNEL:ASSERT-ERROR ..
Johanna-Jessica OFSproficisci@kirche.social
2025-06-11

Folgt mir für mehr Gourmetküche👍

#vegan #LazyEvaluation

Teller mit Blumenkohl, gewürzt mit Chnobli-Aromat. Dazu Leitungswasser.

Es ist zu heiss für Glanzleistungen...
2025-06-03

#climateCrisis #commonLisp #graphing #series #gnuplot screwlisp.small-web.org/progra
Hey everyone. I jammed some #declarative #lazyEvaluation #engineering #programming to tie into the climate segment of the live show in TWO hours.

Interesting declarative exploratory programming and super simple gnuplotting if I do say so.

But I basically ran out of time to make a good graph with daily temperature max/min/avg from about 1920-2020 in some weather stations in New Zealand. Any ideas??? Clock is ticking

Three squiggly gnuplot lines in purple/cyan/blue labeled Daily max-avg-min celsius in Christchurch, NZ in 1980.
2025-05-29

✨ Ever wondered how to effortlessly apply lazy expressions to massive tomographic HDF5 datasets and visualize them instantly in Cat2Cloud? 🤯

🎬 Check out this fantastic new video from our very own Luke Shaw! Discover how a bit of Python 🐍 magic and our user-friendly web interface simplify the process.

👇 Watch the full video to see the magic unfold: ironarray.io/cat2cloud

vintage screwlisp accountscrewtape@mastodon.sdf.org
2025-05-12

#programming #gamedev #devlog #commonLisp #series #lazyEvaluation #functionalprogramming screwlisp.small-web.org/lispga #lispgamejam
Since cl-series generates native common lisp code by working at macro expansion time, I consider it suitable for my software individuals (who want only clos-less common lisp and their own logic (which they have an introspective theory of).

In particular, I use series to cut out rectangular subsequence of sequences -s

SERIES DOC UPDATE FROM RTOY gitlab.common-lisp.net/rtoy/cl

(series::let*
 ((S (series::scan (cadr sequence)))
  (nos (series::scan-range))
  (mask1 (#M<= (series::series
		(+ row dr1))
	       nos))
  (mask2 (#M< nos
	      (series::series
	       (+ row dr2))))
  (lists (#Mcadr S))
  (sublists (#Msubseq
	     lists
	     (series::series
	      (+ col dc1))
	     (series::series
	      (+ col dc2)))))
 (series::collect
  (series::choose
   (#Mand mask1 mask2 nos)
   (#Mcons nos sublists))))
vintage screwlisp accountscrewtape@mastodon.sdf.org
2025-02-14

#programming #commonLisp #emacs #repl versus #orgmode for the #fizzbuzz challenge on #medium.
Using #series #lazyEvaluation
medium.com/@screwlisp/fizzbuzz
I think it ended up pretty interesting, and what you would expect. The repl is a better interactive experience, but the noweb tangle optimizes in ways the separate repl lines can't, and is already in a disk-persisted file.

Looking forward to feedback and commentary ( @ksaj ;p)

Repl output of length 100
- numbers
- (fizz) generalized bools
- (buzz) generalized bools
and a tiny declarative fizzbuzz solution in a lisp repl.
vintage screwlisp accountscrewtape@mastodon.sdf.org
2025-02-12

#programming #example #tutorial #commonLisp #series #declarative #functionalProgramming #lazyEvaluation #medium #article

medium.com/@screwlisp/common-l

I cover
- getting series and using it in a package
- Series' mapping
- Series' iteration (perform a side effect for the whole series, return nothing)
- Series' alter (in-place destructive modification of its input sequence)

Medium.com says it's possible to read my article in two minutes. Feel free to respond with the number of minutes it took you.

vintage screwlisp accountscrewtape@mastodon.sdf.org
2024-11-22

@ksaj
(this is so the player prototype of repeatedly-eval-qt in my lispmoo2 can call it like this:
LISPMOO2/USER> { split-string ("foo bar baz") :with (#\space) } x
("foo" "bar" "baz")

But the lisp is the heads and tails I can make out of Series so far #lazyEvaluation

2024-09-05

My first function using Haskell 💃🏻💃🏻,

A few things:
- No parentheses of commas to separate arguments in a function.
- No return keywords. Functions are expressions.
- A special tuple with zero elements, ().

#FunctionalProgramming
#LazyEvaluation
#Haskell

Jacek Γαλοwιcζjgalowicz@functional.cafe
2024-07-15

🚀 Everything you need to know about lazy evaluation in Nix! 🌟

Whether you’re dealing with recursive functions or other Nix language constructs, understanding laziness in Nix is key to mastering the language.

Curious about others’ experiences? 🤔 What did you find strange about Nix when you first started? Share your thoughts and let’s discuss! Check out the full article here:

nixcademy.com/posts/what-you-n

#Nix #NixOS #Programming #LazyEvaluation

2023-01-30

Lazy Values mit FreshMarker

Bei der Arbeit mit Legacy Anwendungen ist es einem Entwickler selten vergönnt, Ideen für eine neue Software zu finden. Hin und wieder zeigt sich aber ein Problem, das auch in anderen Konstellationen auftreten kann. Bei der Arbeit mit der Template Engine FreshMarker müssen bisher alle notwendi

schegge.de/2023/01/lazy-values

#BestPractices #Bibliotheken #Java #FreeMarker #FreshMarker #Lazy #LazyEvaluation #Template #Template-Engine

Michel Salim :fedora: :debian:michel_slm@floss.social
2022-01-23

@alcinnz I like how Haskell's #lazyevaluation basically means operators are just normal functions, except infix rather than prefix

#FunctionalProgramming

heise online (inoffiziell)heiseonline@squeet.me
2021-04-01
heise+ | C++-Programmierung: Effizienteres Logging mit Expression Templates

Expression Templates lassen sich in C++ für viele Zwecke ein­setzen. Hier helfen sie dabei, Logging-Funktionen effizienter zu machen.
C++-Programmierung: Effizienteres Logging mit Expression Templates

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst