Re: [Haskell] ANNOUNCE: HsUnix 1.0.1 - Haskell for Unix Shell Scripting

2004-02-09 Thread Volker Wysk
> > "VW" == Volker Wysk <[EMAIL PROTECTED]> writes: > > VW> I'm pleased to announce the first release of the > VW> HsUnix library. It enables you to do things easily > VW> in Haskell which are typically done by the > VW> shell. Thus Haskell can be used to write shell > VW> s

Re: [Haskell] ANNOUNCE: HsUnix 1.0.1 - Haskell for Unix Shell Scripting

2004-02-09 Thread Tomasz Zielonka
On Sun, Feb 08, 2004 at 09:36:16PM +0100, Volker Wysk wrote: > Features > > > Command Line Arguments Parser > HsUnix has facilities for managing command line arguments, which are > (hopefully) easier to use than the GHC library GetOpt. Command line > arguments are described in

[Haskell] LDTA 2004 - Call for Participation

2004-02-09 Thread jas
Apologies if you receive multiple copies of this message. ** *** Fourth Workshop on *** ***Language Descriptions, Tools and Applications *** *** LDTA 2004

Re: [Haskell] KDevelop & Haskell

2004-02-09 Thread Gour
Peter Robinson ([EMAIL PROTECTED]) wrote: > The last update was made in September and I didn't have much time to work on > it since then but I expect to have a working updated version at the latest by > the end of February, it isn't really much work. I'm glad to hear that. > > When tried KDev

Re: [Haskell] ANNOUNCE: HsUnix 1.0.1 - Haskell for Unix Shell Scripting

2004-02-09 Thread Andrew Pimlott
On Mon, Feb 09, 2004 at 12:49:28PM +0100, Tomasz Zielonka wrote: > On Sun, Feb 08, 2004 at 09:36:16PM +0100, Volker Wysk wrote: > > Error Handling > > Error handling is one thing which is done much more thoroughly in > > HsUnix than in shells. Failed programs won't be silently ignored. > >

Re: [Haskell] vim syntax files for GHC-style .lhs, .hs + cpp

2004-02-09 Thread Ian Lynagh
On Mon, Feb 09, 2004 at 12:56:43PM +1100, Donald Bruce Stewart wrote: > Hey all, > > - > Vim syntax highlighting for GHC-style .lhs and .hs + cpp > - > > Rathe

Re: [Haskell] ANNOUNCE: HsUnix 1.0.1 - Haskell for Unix Shell Scripting

2004-02-09 Thread Tomasz Zielonka
On Mon, Feb 09, 2004 at 11:07:39AM -0500, Andrew Pimlott wrote: > > -e errexit > > Exit immediately if any untested command fails in non-interactive > > mode. > > It doesn't work. Well, it works as much as it can... better something than nothing. > #!/bin/sh -e > cat nosuchfile

Re: [Haskell] vim syntax files for GHC-style .lhs, .hs + cpp

2004-02-09 Thread Ian Lynagh
On Mon, Feb 09, 2004 at 04:20:59PM +, Ian Lynagh wrote: > > I've put mine here: http://urchin.cipe/~ian/vim/ Or, more usefully, http://urchin.earth.li/~ian/vim/ Ian ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinf

Re: [Haskell] ANNOUNCE: HsUnix 1.0.1 - Haskell for Unix Shell Scripting

2004-02-09 Thread Volker Wysk
> On Mon, Feb 09, 2004 at 12:49:28PM +0100, Tomasz Zielonka wrote: > #!/bin/sh -e > cat nosuchfile | echo hello > > This script will exit with status 0 (success). If you think about > how traditional unix shells are implemented, you will see that they > can't get this right. (Which proves

Re: [Haskell] ANNOUNCE: HsUnix 1.0.1 - Haskell for Unix Shell Scripting

2004-02-09 Thread Andrew Pimlott
On Mon, Feb 09, 2004 at 07:16:09PM +0100, Volker Wysk wrote: > main = mainwrapper $ > call (execp "cat" ["nosuchfile"] -|- execp "echo" ["hello"]) > > This happens to work right. The error is reported via a dynamic exception: > > ~/src/hsunix/build $ ./test2 > cat: nosuchfilehello >

Re: [Haskell] vim syntax files for GHC-style .lhs, .hs + cpp

2004-02-09 Thread Donald Bruce Stewart
igloo: > On Mon, Feb 09, 2004 at 12:56:43PM +1100, Donald Bruce Stewart wrote: > > Hey all, > > > > - > > Vim syntax highlighting for GHC-style .lhs and .hs + cpp > > -

Re: [Haskell] ANNOUNCE: HsUnix 1.0.1 - Haskell for Unix ShellScripting

2004-02-09 Thread andrew cooke
wouldn't it be nicer to have - mainwrapper and call combined - helper fucntions defined for execp "cat" etc i haven't downloaded your package, but the syntax as it is looks very verbose. i know it's a small point, but shells have to support a compact syntax (or is the idea only to support "shell

[Haskell] newbie question

2004-02-09 Thread Lee Render
is "HaskellScript" still working? I tried mucking around with this lately using the latest version of Hugs but the example scripts seemed broken. __ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html ___