[Haskell-cafe] Code folding in Emacs

2008-01-14 Thread Johan Tibell
It would be pretty neat for Haskell hacking if the Emacs Haskell mode could do the following. Imagine you have written some code like so: -- | The parse state. data S = S {-# UNPACK #-} !B.ByteString -- current chunk L.ByteString -- rest of the input {-#

Re: [Haskell-cafe] Code folding in Emacs

2008-01-14 Thread Valery V. Vorotyntsev
On 1/14/08, Johan Tibell [EMAIL PROTECTED] wrote: It would be pretty neat for Haskell hacking if the Emacs Haskell mode could do the following. Imagine you have written some code like so: [...] Binding a haskell-fold-source function to a key chain would enable you to get a quick overview of

Re: [Haskell-cafe] Code folding in Emacs

2008-01-14 Thread Johan Tibell
On Jan 14, 2008 2:30 PM, Valery V. Vorotyntsev [EMAIL PROTECTED] wrote: On 1/14/08, Johan Tibell [EMAIL PROTECTED] wrote: It would be pretty neat for Haskell hacking if the Emacs Haskell mode could do the following. Imagine you have written some code like so: [...] Binding a