Skip to content

Commit

Permalink
Remove mention of defstar's -> syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
vendethiel authored and vindarel committed Feb 20, 2024
1 parent 266b078 commit ad2fe21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/language-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ Defstar can add them automatically if `defstar:*check-argument-types-explicitly?

In theory, such declarations don't guarantee that Lisp will do type checking but in practice the implementations, and in particular SBCL, perform type checking.

We use the [defstar](https://github.com/lisp-maintainers/defstar) library. Its README has many more examples, more features (adding assertions, `:pre` and `:post` clauses) and even an alternative notation (`(defun* (foo -> integer) …)`).
We use the [defstar](https://github.com/lisp-maintainers/defstar) library. Its README has many more examples and even more features (adding assertions, `:pre` and `:post` clauses).

> Note: we are not talking thorough ML-like type checking here (maybe the [Coalton](https://github.com/stylewarning/coalton) library will bring it to Common Lisp). But in practice, the compiler warnings and errors are helpful during development, "good enough", and SBCL keeps improving in that regard.
Expand Down

0 comments on commit ad2fe21

Please sign in to comment.