Skip to content

Commit

Permalink
(This entry describes the past couple of Haskell bundle commits.)
Browse files Browse the repository at this point in the history
Syntaxes/Haskell.plist:
- Fixed regex for backquote-infix notation
- Added highlighting for unit () and empty list []
- Fixed up module, class, import, and instance declarations. In particular, some non-reserved words that are only meaningful in the above contexts are highlighted appropriately.
- Added highlighting for all operators.
- Changed scope selectors for some varSyms that were previously highlighted as "punctuation.separator." This scope is not highlighted by many themes.
- Added highlighting for numeric constants. Floats and integrals have separate scope selectors.
- Changed scope selectors for some things like pragma syntax.
- Fixed minor errors in regexes that highlight function names.
- Modularized a lot of patterns. (There's still a lot to be done here.)
- Added highlighting for Prelude type names and constructors. This is scope aware, in the sense that (eg.) Maybe only gets special treatment in the context of a type signature. (This is incomplete, though.)
- Added highlighting for commas. At the moment this is utterly useless.
- Fixed some dumb issues where pragmas would only be scoped as such if they appeared inside a block comment.
- Highlighted a couple of pragma directives. (Incomplete.)
- Fixed up the type signature scope a little bit. (Not much.)

Other miscellaneous changes:
- Fixed the Literate Haskell grammar to allow Bird notation.
- The \t -> t snippet (lambda expression) no longer mirrors the parameters to the return value, and has been renamed accordingly.
- A similar snippet useful for editing do-blocks has been added.
- Changed contact info for new maintainer. (Hi guys!)



git-svn-id: http://svn.textmate.org/trunk/Bundles/Haskell.tmbundle@11286 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information
Jules Lauve committed Feb 10, 2009
1 parent 11d2671 commit 5886fa2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
16 changes: 16 additions & 0 deletions Snippets/t <- f t.tmSnippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>${1:t} &lt;- ${0:f t}</string>
<key>keyEquivalent</key>
<string>^,</string>
<key>name</key>
<string>t &lt;- f t</string>
<key>scope</key>
<string>source.haskell</string>
<key>uuid</key>
<string>4B154C05-D107-4316-9AAD-43A3DCF1860A</string>
</dict>
</plist>
6 changes: 3 additions & 3 deletions info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<plist version="1.0">
<dict>
<key>contactEmailRot13</key>
<string>agvbmlznaqvnf@tznvy.pbz</string>
<string>wnzvf@37fvtanyf.pbz</string>
<key>contactName</key>
<string>Jules Lauve</string>
<string>Jamis Buck</string>
<key>description</key>
<string>Support for &lt;a href="http://www.haskell.org/"&gt;Haskell&lt;/a&gt;, a general purpose, purely functional programming language featuring static typing, higher order functions, polymorphism, type classes, and monadic effects.</string>
<key>mainMenu</key>
Expand Down Expand Up @@ -44,7 +44,7 @@
<string>18F43074-566D-4AD9-8DCE-9C26B8516B64</string>
<string>CE424A97-E486-4DE7-9328-C6ADB99B4ABD</string>
<string>89248B78-C2C6-48EE-BC47-CF8E9A5EA0E7</string>
<string>4D9008D7-048F-4E58-84BE-F83644F7BE1D</string>
<string>4B154C05-D107-4316-9AAD-43A3DCF1860A</string>
<string>5C034675-1F6D-497E-8073-369D37E2FD7D</string>
<string>439807F5-7129-487D-B5DC-95D5272B43DD</string>
<string>E3994307-4D9E-44D6-832E-52C244F1CDF3</string>
Expand Down

0 comments on commit 5886fa2

Please sign in to comment.