Tue Sep 1 07:17:15 EDT 2009 jeanphilippe.berna...@gmail.com
* bind prettify in precise haskell mode
M ./src/Yi/Mode/Haskell.hs -1 +2
--~--~-~--~~~---~--~~
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel
-~--~~~~--~~--~--~---
t;> pBlock p = pBlockOf' (Block <$> pBlocks' p)
>> <|> pCBrace (concat <$> (p `sepBy1` exact [Special ';']) <|>
>> pure []) pEmpty
>> <|> (Yuck $ Enter "block expected" $ pEmptyBL)
>>
>> instead, b
$ pEmptyBL)
>
> instead, but that might break other patterns so that the parser fail
> if a comment
> is located after a {
>
> /Anders K
>
> On Mon, Aug 10, 2009 at 2:52 PM, wrote:
>>
>>
>> Comment #1 on issue 284 by JeanPhilippe.bernardy: Precise has
;
pure []) pEmpty
<|> (Yuck $ Enter "block expected" $ pEmptyBL)
instead, but that might break other patterns so that the parser fail
if a comment
is located after a {
/Anders K
On Mon, Aug 10, 2009 at 2:52 PM, wrote:
>
>
> Comment #1 on issue 284 by JeanPhilipp
Comment #1 on issue 284 by JeanPhilippe.bernardy: Precise haskell mode:
Explicit structuring often allow 2 ways to parse comments
http://code.google.com/p/yi-editor/issues/detail?id=284
What are the two ways in which it can be parsed?
--
You received this message because you are listed in
Status: New
Owner: andersk84
Labels: Type-Defect Priority-Medium
New issue 284 by andersk84: Precise haskell mode: Explicit structuring
often allow 2 ways to parse comments
http://code.google.com/p/yi-editor/issues/detail?id=284
Following code will slow down the parser, for the precise
Excerpts from Jean-Philippe Bernardy's message of Wed Jun 03 16:47:49 +0200
2009:
>
> Hi,
>
> Anders is almost done with his precise haskell mode for Yi. Kudos to him!
>
> The mode has a number of cool features:
> * more precise indentation
> * dist
Wed Jun 3 10:53:45 EDT 2009 ande...@student.chalmers.se
* Dollarify.hs: Added dollarifyP function that can be used with the precise
haskell mode
Ignore-this: d867cb08f443c4ba9b6070bcb51fa4b6
M ./Yi/Mode/Haskell/Dollarify.hs +67
--~--~-~--~~~---~--~~
Yi
Hi,
Anders is almost done with his precise haskell mode for Yi. Kudos to him!
The mode has a number of cool features:
* more precise indentation
* distinction between imports, data constructors, type constructors
* detects more syntax errors
and maybe more.
This is the time for you to
Sun May 31 11:57:55 EDT 2009 ande...@student.chalmers.se
* Mode/Haskell.hs: Improved the indentation for the precise haskell mode
Ignore-this: 5c05907c96ff10857e8d4d5a8452111
M ./Yi/Mode/Haskell.hs -20 +24
M ./Yi/Syntax/Haskell.hs -2 +7
10 matches
Mail list logo