Hacker GitHub

← All repos

lisp-maintainers/defstar

View on GitHub ↗ ★ 43 Common Lisp

Type declarations for defun et all. Just a mirror. Ask for push acess!

3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2021-11-07 · latest 2023-10-11

Mentions per year 3 mentions · busiest year 2023 (2)
20082026
  1. …(string string) string) concat)) would become: (-> concat (string string) string) there is also https://github.com/lisp-maintainers/defstar for providing more ergonomic type declarations inline in definitions And this is another thing I'm…
  2. …types more portable[2][3]. [1] http://www.lispworks.com/documentation/HyperSpec/Body/s_the.... [2] https://github.com/lisp-maintainers/defstar [3] https://github.com/ruricolist/serapeum/blob/master/REFERENCE...
    comment by brabel · 2023-07-01 · in Steel Bank Common Lisp
  3. agreed^^ there are macros and libraries to bring a nicer syntax (of course). Exple: https://github.com/lisp-maintainers/defstar (defun* (sum -> real) ((a real) (b real)) (+ a b))
    comment by vindarel · 2021-11-07 · in Common Lisp code optimisation