Re: [Haskell-cafe] Wishful thinking: a text editor that expands function applications into function definitions

2009-04-03 Thread Claus Reinke
One word says more than a thousand pictures: Vim . (well, okay, I'm sure Emacs will do just as well, and some of the more recent IDEs seem to be catching up;-) plus plugins, of course!-) - unfolding definitions: if you really want that, it is in the domain of program tra

Re: [Haskell-cafe] Wishful thinking: a text editor that expands function applications into function definitions

2009-04-02 Thread Michael Snoyman
On Fri, Apr 3, 2009 at 7:07 AM, Duane Johnson wrote: > I hadn't seen that feature in Excel before. When I press F9 it seems to > evaluate the expression, which isn't quite what I had in mind (Mac OS). Is > that the same as what you get? > Duane > Yeah, it's the same feature. It's just that in E

Re: [Haskell-cafe] Wishful thinking: a text editor that expands function applications into function definitions

2009-04-02 Thread Duane Johnson
I hadn't seen that feature in Excel before. When I press F9 it seems to evaluate the expression, which isn't quite what I had in mind (Mac OS). Is that the same as what you get? Duane On Apr 2, 2009, at 8:33 PM, Michael Snoyman wrote: 2009/4/3 Duane Johnson Perhaps it wouldn't be as a

Re: [Haskell-cafe] Wishful thinking: a text editor that expands function applications into function definitions

2009-04-02 Thread Zachary Turner
On Thu, Apr 2, 2009 at 9:33 PM, Michael Snoyman wrote: > > > 2009/4/3 Duane Johnson > >> Perhaps it wouldn't be as all-wonderful as I think, but as a "new" Haskell >> user, I am constantly switching back and forth between various definitions >> of things trying to compare documentation and files

Re: [Haskell-cafe] Wishful thinking: a text editor that expands function applications into function definitions

2009-04-02 Thread Michael Snoyman
2009/4/3 Duane Johnson > Perhaps it wouldn't be as all-wonderful as I think, but as a "new" Haskell > user, I am constantly switching back and forth between various definitions > of things trying to compare documentation and files... > The purpose of "expansion" as I was explaining it is not to *

Re: [Haskell-cafe] Wishful thinking: a text editor that expands function applications into function definitions

2009-04-02 Thread Duane Johnson
Perhaps it wouldn't be as all-wonderful as I think, but as a "new" Haskell user, I am constantly switching back and forth between various definitions of things trying to compare documentation and files... The purpose of "expansion" as I was explaining it is not to *permanently replace* what

Re: [Haskell-cafe] Wishful thinking: a text editor that expands function applications into function definitions

2009-04-02 Thread Zachary Turner
It seems like a neat feature, and it could just be my inexperience with Haskell but it doesn't seem "killer". For example, why would you want to expand readLine like that if you already have it defined? It seems to defeat much of the benefit of functional languages in the first place, which is th

Re: [Haskell-cafe] Wishful thinking: a text editor that expands function applications into function definitions

2009-04-02 Thread Derek Elkins
On Thu, 2009-04-02 at 18:01 -0600, Duane Johnson wrote: > So I was thinking about a "killer feature" for a text editor. > Wouldn't it be neat if you could expand function calls into their > definitions, in-place? > > For example, suppose we have "minus" defined like so, somewhere in > anoth

[Haskell-cafe] Wishful thinking: a text editor that expands function applications into function definitions

2009-04-02 Thread Duane Johnson
So I was thinking about a "killer feature" for a text editor. Wouldn't it be neat if you could expand function calls into their definitions, in-place? For example, suppose we have "minus" defined like so, somewhere in another file: minus (a, b, c) (x, y, z) = (a - x, b - y, c - z) Lat