Elsa icon indicating copy to clipboard operation
Elsa copied to clipboard

Introduce an `elsa-annotate` macro for the type definitions

Open Fuco1 opened this issue 7 years ago • 0 comments

(progn
  (put 'stringp 'elsa-type (elsa-make-type Mixed -> Bool))
  (put 'stringp 'elsa-narrow-types (list (elsa-make-type String))))

could become something like

(elsa-annotate stringp :type Mixed -> Bool :narrow (1 String))

Fuco1 avatar Aug 15 '18 13:08 Fuco1