Re:Bio – experimental Lisp dialect, written in Zig
by codr7 on Sunday July 14, 2024 @12:55PM
(#40961956)
Functions deserve their own symbol in Lisp.
Though I prefer ^ since it’s easier to type.
Re:Bio – experimental Lisp dialect, written in Zig
by satvikpendem on Sunday July 14, 2024 @01:12PM
(#40962078)
Haskell uses \ which is nice, it's an ASCII character that looks like the right half of λ
Re:Bio – experimental Lisp dialect, written in Zig
by darby_nine on Sunday July 14, 2024 @01:14PM
(#40962087)
It's pretty common to wire \ to the lambda character in your editor. I think racket already allows this (if not as a replacement for lambda, an alternative syntax for it)
Re:Bio – experimental Lisp dialect, written in Zig
by gylterud on Sunday July 14, 2024 @02:41PM
(#40962538)
This is also what Agda does (though \ is synonymous).
Re:Bio – experimental Lisp dialect, written in Zig
by brudgers on Sunday July 14, 2024 @02:50PM
(#40962575)
You can use a λ in many common Rackets.
Re:Bio – experimental Lisp dialect, written in Zig
by cryptocod3 on Thursday July 18, 2024 @11:13AM
(#40996334)
The language supports both (λ is just an alias... which I might remove)
Replaced the example with lambda - appreciate the feedback!
An example usage:
(filter (quicksort '(5 40 1 -3 2) <) (λ (x) (>= x 0)))