Re: [Haskell-cafe] develop new Haskell shell?

2006-05-16 Thread John Hamilton
Jared Updike wrote: It would also be wise to look at occam and erlang and see if they have any useful ideas. And, of course, Windows PowerShell. And scsh (Scheme shell, pretty full featured these days): http://www.scsh.net/ At http://jaortega.wordpress.com/2006/05/16/not-your-parents-s

Re: [Haskell-cafe] develop new Haskell shell?

2006-05-13 Thread Marc Weber
We haven't talked about bash features like !:1 !:$ yet !:1 means first argument of last commands, !:$ means last argument of last command Some kind of completion could also be achieved by using this completion:: IO (a) -- a in this case Filename liftM cat completion where is a function (or ano

Re: [Haskell-cafe] develop new Haskell shell?

2006-05-13 Thread Marc Weber
Wow.. quite many responses.. I'll have to rearead them thoroughly.. ;) I think GHCI would be great (expect it's start up time compared to bash ;) I wouldn't use hs-plugins because it needs quite a lot of time to compile pieces of code.. I got the idea to use something like Don Libes expect/pexpe

Re: [Haskell-cafe] develop new Haskell shell?

2006-05-12 Thread John Meacham
I have only been skimming this thread so sorry if this was already posted: http://www.webcom.com/~haahr/es/es-usenix-winter93.html es is a shell roughly based on rc but with higher order functions and a functional nature in general. It is quite interesting and could serve as inspiration.

Re: [Haskell-cafe] develop new Haskell shell?

2006-05-12 Thread Brian Hulley
Jeremy Shaw wrote: At Thu, 11 May 2006 23:05:14 +0100, Brian Hulley wrote: Of course the above could no doubt be improved but surely it is already far easier to understand and much more powerful than the idiosyncratic text based approach used in UNIX shells (including rc). The idea of represe

Re: [Haskell-cafe] develop new Haskell shell?

2006-05-12 Thread Brian Hulley
Donn Cave wrote: On Thu, 11 May 2006, Brian Hulley wrote: ... -- catenate all files in a specified directory catenate outputFile dir = withDir dir $ ls >>= cat outputFile So, you would apply this like catenate "result" "/etc/stuff" ? String li

Re: [Haskell-cafe] develop new Haskell shell?

2006-05-11 Thread Jared Updike
It would also be wise to look at occam and erlang and see if they have any useful ideas. And, of course, Windows PowerShell. And scsh (Scheme shell, pretty full featured these days): http://www.scsh.net/ Jared. j. ___ Haskell-Cafe mailing list Ha

Re: [Haskell-cafe] develop new Haskell shell?

2006-05-11 Thread Donn Cave
On Thu, 11 May 2006, Brian Hulley wrote: ... > -- catenate all files in a specified directory > > catenate outputFile dir = withDir dir $ > ls >>= cat outputFile So, you would apply this like catenate "result" "/etc/stuff" ? String literals need

Re: [Haskell-cafe] develop new Haskell shell?

2006-05-11 Thread Jeremy Shaw
At Thu, 11 May 2006 23:05:14 +0100, Brian Hulley wrote: > Of course the above could no doubt be improved but surely it is already far > easier to understand and much more powerful than the idiosyncratic text > based approach used in UNIX shells (including rc). The idea of representing unix pip

Re: [Haskell-cafe] develop new Haskell shell?

2006-05-11 Thread Brian Hulley
Brian Hulley wrote: rename extFrom extTo files = do let candidates = filter (\(_,ext) -> ext==extFrom) (map split files) mapM_ (\f@(n,_) -> rename (unsplit f) (unsplit (n, extTo))) candidates % ls >>= rename "txt" "hs" I see I've used the same name twice...;-) It sh

Re: [Haskell-cafe] develop new Haskell shell?

2006-05-11 Thread Brian Hulley
Donn Cave wrote: On Wed, 10 May 2006, Donald Bruce Stewart wrote: Funny this should come up. We've just had several submissions to work on a functional shell for the google summer of code. Here's a bit of a summary of what's been done in Haskell I prepared a while back. http://www.cse.unsw.ed

Re: [Haskell-cafe] develop new Haskell shell?

2006-05-11 Thread Donn Cave
On Wed, 10 May 2006, Donald Bruce Stewart wrote: > Funny this should come up. We've just had several submissions to work on > a functional shell for the google summer of code. > > Here's a bit of a summary of what's been done in Haskell I prepared a > while back. > > http://www.cse.unsw.edu.au/~

Re: [Haskell-cafe] develop new Haskell shell?

2006-05-10 Thread Brian Hulley
Donald Bruce Stewart wrote: Funny this should come up. We've just had several submissions to work on a functional shell for the google summer of code. Here's a bit of a summary of what's been done in Haskell I prepared a while back. http://www.cse.unsw.edu.au/~pls/thesis-topics/functionalshell

Re: [Haskell-cafe] develop new Haskell shell?

2006-05-10 Thread Donald Bruce Stewart
johanj: > >>>Who wants to try devloping a new shell with me? > > > > > >Also: > >http://www.cse.unsw.edu.au/~dons/h4sh.html > > And (in Clean): > > Rinus Plasmeijer and Arjen van Weelden. A functional shell that > operates on typed and compiled applications. In Varmo Vene and Tarmo > Uustalu,

Re: [Haskell-cafe] develop new Haskell shell?

2006-05-10 Thread Johan Jeuring
Who wants to try devloping a new shell with me? Also: http://www.cse.unsw.edu.au/~dons/h4sh.html And (in Clean): Rinus Plasmeijer and Arjen van Weelden. A functional shell that operates on typed and compiled applications. In Varmo Vene and Tarmo Uustalu, editors, Advanced Functional Prog

RE: [Haskell-cafe] develop new Haskell shell?

2006-05-10 Thread Bayley, Alistair
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Graham Klyne > > Did you see [http://nellardo.com/lang/haskell/hash/] ? > > Google also finds some links to code. > > #g > -- > > Marc Weber wrote: > > Hi. > > > > Who wants to try devloping a new shell with me? Also: http:/

Re: [Haskell-cafe] develop new Haskell shell?

2006-05-09 Thread Graham Klyne
Did you see [http://nellardo.com/lang/haskell/hash/] ? Google also finds some links to code. #g -- Marc Weber wrote: > Hi. > > Who wants to try devloping a new shell with me? > > The main goals: try adding some haskell scriting instead of bash/zsh, > > history dependend on > a) executing pro