Skip to content

Commit

Permalink
Add types for thingatpt
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuco1 committed Aug 11, 2018
1 parent af4f794 commit fd55e55
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions elsa-typed-thingatpt.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(require 'elsa-types)
(require 'elsa-type-helpers)

(put 'bounds-of-thing-at-point 'elsa-type (elsa-make-type Symbol -> Nil | (Cons Int Int)))

(provide 'elsa-typed-thingatpt)
3 changes: 3 additions & 0 deletions elsa.el
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
(require 'elsa-ruleset)

(require 'elsa-extension-builtin)

(require 'elsa-typed-emacs-syntax)
;; TODO: figure out how to load these based on `(require)' forms
(require 'elsa-typed-thingatpt)

;; TODO: unify with `elsa-variable'?
(defclass elsa-defvar nil
Expand Down

0 comments on commit fd55e55

Please sign in to comment.