emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/julia-mode 1f9a1a7 014/352: redesign of type system and it


From: ELPA Syncer
Subject: [nongnu] elpa/julia-mode 1f9a1a7 014/352: redesign of type system and its syntax:
Date: Sun, 29 Aug 2021 11:22:06 -0400 (EDT)

branch: elpa/julia-mode
commit 1f9a1a76b0d0684f1a98adca8d1ad5d88979f149
Author: Jeff Bezanson <bezanson@post.harvard.edu>
Commit: Yichao Yu <yyc1992@gmail.com>

    redesign of type system and its syntax:
      - new and convert are now kept inside their types
      - distinct type kinds
      - type parameters are first-class TypeVars, and type constructors
        are distinct from types
      - user-defined abstract types
      - no more `
      - dummy TypeVars are filled in automatically if a type constructor
        is used in a declaration
    also a fix to the REPL
---
 julia-mode.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/julia-mode.el b/julia-mode.el
index 48eb090..85e45fe 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -45,15 +45,15 @@
          (mapconcat
           'identity
           '("if" "else" "elseif" "while" "for" "begin" "end" "block"
-            "try" "catch" "return" "local" "type" "function" "new" "quote"
-           "typealias" "break" "continue" "conversion" "global" "macro"
+            "try" "catch" "return" "local" "type" "function" "quote"
+           "typealias" "break" "continue" "struct" "global" "macro"
            "module" "import" "export" "const")
           "\\|") "\\)\\>")
      'font-lock-keyword-face)
     '("\\\\\\s-*\".*?\"" . font-lock-string-face)))
 
 (defconst julia-block-start-keywords
-  (list "if" "while" "for" "begin" "try" "type" "function" "conversion"
+  (list "if" "while" "for" "begin" "try" "type" "function" "struct"
        "macro"))
 
 (defconst julia-block-other-keywords



reply via email to

[Prev in Thread] Current Thread [Next in Thread]