File tree Expand file tree Collapse file tree 1 file changed +24
-5
lines changed Expand file tree Collapse file tree 1 file changed +24
-5
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,27 @@ NEW as of January, 2025.
10
10
11
11
Lem's Coalton mode provides:
12
12
13
- - code highlighting for ` .coal ` files.
14
- - indentation support.
15
- - show autodoc for Coalton functions.
16
- - its arguments can be different from definitions since the information is from Swank, just like Common Lisp.
17
- - compilation commands: ` coalton-compile-defun ` (on the usual ` C-c C-c ` ) and ` M-x coalton-compile-region `
13
+ - support for ` .coal ` files
14
+ - support for Coalton code inside ` coalton-toplevel ` in lisp-mode
15
+ - code highlighting
16
+ - indentation support
17
+ - show autodoc for Coalton functions
18
+ - its arguments can be different from definitions since the information is from Swank, just like Common Lisp
19
+ - compilation commands: ` coalton-compile-defun ` (on the usual ` C-c C-c ` ) and ` M-x coalton-compile-region ` .
20
+
21
+
22
+ ` coalton-mode ` is enabled as a sub-mode inside the ` coalton-toplevel `
23
+ form in lisp-mode: that means that in the following file, the type
24
+ ` Integer ` is highlighted even in lisp-mode:
25
+
26
+ ~~~ lisp
27
+ ;; Just for testing: test.lisp
28
+ (defpackage foo
29
+ (:use :coalton-prelude))
30
+ (in-package :foo)
31
+
32
+ (coalton-toplevel
33
+ (declare foo (Integer -> Integer))
34
+ ...
35
+ )
36
+ ~~~
You can’t perform that action at this time.
0 commit comments