home.social

#lazyevaluation — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #lazyevaluation, aggregated by home.social.

  1. Finally, "First-Order Laziness" by Anton Lorenzen, Daan Leijen, Wouter Swierstra, and Sam Lindley seems like a very useful contribution to the practical implementation of functional languages which could make them both more efficient and more friendly to the programmer by providing better debugging.

    dl.acm.org/doi/10.1145/3747530

    #FunctionalProgramming #LazyEvaluation
  2. @dougmerritt wrote:
    > infinitely long TODO list of things

    For your Infinite Free Time™.

    At least, "list" implies they are only countably many.
    🙂

    #CantorForever
    #LazyEvaluation

    @screwlisp

  3. #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

  4. #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)

  5. #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)

  6. #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.

  7. @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

  8. 🚀 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

  9. 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