Source

haskell-mode / fontlock.hs

Diff from to

File fontlock.hs

                                              -- and module names are coloured
                                              -- closer to ordinary code.
 
+recognize +++ infix :: Operator Declarations
+as `well` as = This Form
+(+) and this one = as well
+
+instance Show Toto where
+    fun1 arg1 = foo             -- FIXME: `fun1' should be highlighted.
+
+constStr = "hello \
+           \asdgfasgf\
+           \asf"
+
 {-
 map :: (a -> b) -> [a] -> [b]           -- Commenting out large sections of
 map f []     = []                       -- code can be misleading.  Coloured
 map f (x:xs) = f x : map f xs           -- comments reveal unused definitions.
 -}
+