Alternative syntax for Python's lambda
Alternative syntax for Python's lambda
Posted Mar 6, 2021 1:49 UTC (Sat) by aeline (guest, #144768)In reply to: Alternative syntax for Python's lambda by cpitrat
Parent article: Alternative syntax for Python's lambda
Posted Mar 6, 2021 1:54 UTC (Sat)
by aeline (guest, #144768)
[Link]
Alternative syntax for Python's lambda
This is really nice for following mathematics/language papers. A snippet from a recent project:
;; Values
(v ::= n
b
∅ ;; Unit
(λ (x : t) e) ;; Value Abstraction
(Λ x e)) ;; Type Abstraction
