Skip to content

Commit

Permalink
Add type annotation for last
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuco1 committed Sep 8, 2018
1 parent eeb995c commit de64421
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions elsa-typed-subr.el
Expand Up @@ -2,5 +2,6 @@
(require 'elsa-type-helpers)

(put 'match-string 'elsa-type (elsa-make-type Int -> String? -> String?))
(put 'last 'elsa-type (elsa-make-type [Mixed] -> Int? -> Cons))

(provide 'elsa-typed-subr)

0 comments on commit de64421

Please sign in to comment.