From: Andrea Corallo Date: Wed, 1 May 2024 20:49:01 +0000 (+0200) Subject: * etc/NEWS (Function type declaration): Add entry. X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~1681^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8e1e8099aad0fbb2bc375b45379913b8ca55e926;p=emacs.git * etc/NEWS (Function type declaration): Add entry. --- diff --git a/etc/NEWS b/etc/NEWS index 4b0106fcb07..73dbe3b2b83 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1935,6 +1935,10 @@ unibyte string. * Lisp Changes in Emacs 30.1 +** Function type declaration +It is now possible, using the 'declare' macro, to declare expected types +of function arguments and return type. + ** New types 'closure' and 'interpreted-function'. 'interpreted-function' is the new type used for interpreted functions, and 'closure' is the common parent type of 'interpreted-function'