From igloo at earth.li Thu May 24 08:41:07 2007 From: igloo at earth.li (Ian Lynagh) Date: Thu May 24 08:37:13 2007 Subject: [Hugs-users] base split Message-ID: <20070524124107.GA18038@matrix.chaos.earth.li> Hi all, I've attached a patch that I hope will make hugs build after the base split, but it is untested as following the instructions on http://hackage.haskell.org/trac/hugs/wiki/GettingTheSource gave /bin/cp ../src/platform.h include/MachDeps.h include/ghcconfig.h ../includes CPPFLAGS='-D__HUGS__ -D_HOST_OS -D_TARGET_OS' tools/make_bootlib /bin/sh: tools/make_bootlib: Permission denied make[1]: *** [bootlib/.stamp] Error 126 make[1]: Leaving directory `/home/ian/code/hugs/hugs98/libraries' make: *** [all] Error 2 during the "make" step. Thanks Ian -------------- next part -------------- A non-text attachment was scrubbed... Name: base-split.patch Type: text/x-diff Size: 7540 bytes Desc: not available Url : http://www.haskell.org/pipermail/hugs-users/attachments/20070524/00b787d9/base-split.bin From bfotsing at gmail.com Thu May 31 09:55:49 2007 From: bfotsing at gmail.com (bft) Date: Thu May 31 09:51:32 2007 Subject: [Hugs-users] A New Notation for Arrows Message-ID: <232143290705310655y9632ebaoab37d195095b101a@mail.gmail.com> Hello Is there any version of Haskell (Hugs or Ghc) which includes the new notation of arrows introduced by Ross Paterson ? Instead, where can I get it ? The Control.Arrow.hs file did not include the new notation of arrows. Thanks for your help. BFT -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.haskell.org/pipermail/hugs-users/attachments/20070531/cc455105/attachment.htm From ross at soi.city.ac.uk Thu May 31 10:08:15 2007 From: ross at soi.city.ac.uk (Ross Paterson) Date: Thu May 31 10:04:00 2007 Subject: [Hugs-users] A New Notation for Arrows In-Reply-To: <232143290705310655y9632ebaoab37d195095b101a@mail.gmail.com> References: <232143290705310655y9632ebaoab37d195095b101a@mail.gmail.com> Message-ID: <20070531140815.GA25466@soi.city.ac.uk> On Thu, May 31, 2007 at 02:55:49PM +0100, bft wrote: > Is there any version of Haskell (Hugs or Ghc) which includes the new > notation of arrows introduced by Ross Paterson ? Instead, where can I get > it ? The Control.Arrow.hs file did not include the new notation of > arrows. It's supported by GHC 6.2 and later, with the -farrows option (see the GHC User's Guide). To use arrow notation with Hugs or any other Haskell implementation, you need the arrows preprocessor (http://www.haskell.org/arrows/download.html). From bfotsing at gmail.com Thu May 31 15:07:13 2007 From: bfotsing at gmail.com (bft) Date: Thu May 31 15:02:54 2007 Subject: [Hugs-users] A New Notation for Arrows Message-ID: <232143290705311207y38ee7744ie21c66b14222dcf1@mail.gmail.com> On Thu, May 31, 2007 at 02:55:49PM +0100, bft wrote: >* Is there any version of Haskell (Hugs or Ghc) which includes the new *>* notation of arrows introduced by Ross Paterson ? Instead, where can I get *>* it ? The Control.Arrow.hs file did not include the new notation of *>* arrows. * *Ross Paterson wrote :* > It's supported by GHC 6.2 and later, with the -farrows option >(see the GHC User's Guide). To use arrow notation with Hugs or > any other Haskell implementation, you need the arrows preprocessor >(http://www.haskell.org/arrows/download.html). Thank you for your prompt answer. I tried to download the x86/Linux Binary Release arrowp-0.5-linux-i386.tgz at http://www.haskell.org/arrows/download.html ; but it failed with this message : "Not Found The requested URL /arrows/arrowp-0.5-linux-i386.tgz was not found on this server." I tried the Unix Source Release: arrowp-0.5-src.tgz, but I failed when building it on my Linux Fedora Core 6 system. I have a ghc-6.6.1 Haskell compiler and the Hugs98 (march 2005 version) Haskell interpreter. Thanks again for your help. Bernard Fotsing Talla -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.haskell.org/pipermail/hugs-users/attachments/20070531/0f47aae5/attachment.htm From ross at soi.city.ac.uk Thu May 31 15:30:37 2007 From: ross at soi.city.ac.uk (Ross Paterson) Date: Thu May 31 15:26:21 2007 Subject: [Hugs-users] A New Notation for Arrows In-Reply-To: <232143290705311207y38ee7744ie21c66b14222dcf1@mail.gmail.com> References: <232143290705311207y38ee7744ie21c66b14222dcf1@mail.gmail.com> Message-ID: <20070531193037.GA26748@soi.city.ac.uk> On Thu, May 31, 2007 at 08:07:13PM +0100, bft wrote: > I tried to download the x86/Linux Binary Release > arrowp-0.5-linux-i386.tgz at > http://www.haskell.org/arrows/download.html ; but it failed with this > message : > "Not Found > The requested URL /arrows/arrowp-0.5-linux-i386.tgz was not found on > this server." > > I tried the Unix Source Release: arrowp-0.5-src.tgz, but I failed when > building it on my Linux Fedora Core 6 system. > I have a ghc-6.6.1 Haskell compiler and the Hugs98 (march 2005 version) > Haskell interpreter. I've fixed the binary link, but you might as well use GHC for arrows. If you use the preprocessor, scope errors or type errors will be harder to track down, as they'll be reported against the preprocessor output, which is rather obfuscated. GHC will report them against the source you wrote.