Re: [GHC] #2673: FreeBSD built-in libedit is not compatible with GHC

2008-10-10 Thread GHC
#2673: FreeBSD built-in libedit is not compatible with GHC --+- Reporter: gmainland |Owner: Type: bug| Status: new Priority: normal |Milestone:

Re: [GHC] #2606: Backspace, delete, etc. don't work in ghci in HEAD

2008-10-10 Thread GHC
#2606: Backspace, delete, etc. don't work in ghci in HEAD ---+ Reporter: tim |Owner: Type: bug | Status: new Priority: normal |Milestone: Component: GHCi|

[GHC] #2679: dph build failure on Sparc Solaris 10 for ghc-6.10.0.20081007

2008-10-10 Thread GHC
#2679: dph build failure on Sparc Solaris 10 for ghc-6.10.0.20081007 ---+ Reporter: maeder | Owner: Type: bug | Status: new Priority: normal | Component: Compiler

Re: [GHC] #1779: unknown symbol `hs_hpc_module'

2008-10-10 Thread GHC
#1779: unknown symbol `hs_hpc_module' --+- Reporter: guest | Owner: AndyGill Type: bug | Status: reopened Priority: low | Milestone:

Re: [GHC] #2664: type family + data family + typeclass + type error causes GHC to diverge

2008-10-10 Thread GHC
#2664: type family + data family + typeclass + type error causes GHC to diverge --+- Reporter: ryani | Owner: chak Type: bug | Status: new

Re: [GHC] #2636: Error message for missing import substantially worse in 6.9/6.11

2008-10-10 Thread GHC
#2636: Error message for missing import substantially worse in 6.9/6.11 --+- Reporter: NeilMitchell | Owner: simonmar Type: bug | Status: new Priority: high

Re: [GHC] #2589: ghci fails in ByteCodeGen.lhs with nonexhaustive patterns in case

2008-10-10 Thread GHC
#2589: ghci fails in ByteCodeGen.lhs with nonexhaustive patterns in case --+- Reporter: gwright | Owner: igloo Type: merge | Status: closed Priority:

Re: [GHC] #2639: Core lint failure with type families, data families, and typeclasses

2008-10-10 Thread GHC
#2639: Core lint failure with type families, data families, and typeclasses --+- Reporter: ryani | Owner: chak Type: bug | Status: closed Priority:

Re: [GHC] #2679: dph build failure on Sparc Solaris 10 for ghc-6.10.0.20081007

2008-10-10 Thread GHC
#2679: dph build failure on Sparc Solaris 10 for ghc-6.10.0.20081007 -+-- Reporter: maeder|Owner: rl Type: bug | Status: assigned Priority:

Re: [GHC] #2678: hLookAhead + hSetBuffering = unsupported operation (Illegal seek)

2008-10-10 Thread GHC
#2678: hLookAhead + hSetBuffering = unsupported operation (Illegal seek) --+- Reporter: igloo | Owner: Type: bug | Status: new Priority:

[GHC] #2680: Type-checking performance regression

2008-10-10 Thread GHC
#2680: Type-checking performance regression -+-- Reporter: igloo | Owner: Type: compile-time performance bug | Status: new Priority: high

Re: [GHC] #2680: Type-checking performance regression

2008-10-10 Thread GHC
#2680: Type-checking performance regression --+- Reporter: igloo | Owner: Type: compile-time performance bug | Status: new Priority: high

[GHC] #2681: Incorrect imported module not used warning

2008-10-10 Thread GHC
#2681: Incorrect imported module not used warning -+-- Reporter: NeilMitchell | Owner: Type: bug | Status: new Priority: normal|

Re: [GHC] #2267: Bogus unused import warning

2008-10-10 Thread GHC
#2267: Bogus unused import warning --+- Reporter: simonpj | Owner: Type: bug | Status: new Priority: high | Milestone:

Re: [GHC] #2681: Incorrect imported module not used warning

2008-10-10 Thread GHC
#2681: Incorrect imported module not used warning --+- Reporter: NeilMitchell | Owner: Type: bug | Status: closed Priority: normal|

Re: [GHC] #2680: Type-checking performance regression

2008-10-10 Thread GHC
#2680: Type-checking performance regression --+- Reporter: igloo | Owner: Type: compile-time performance bug | Status: new Priority: high

Re: [GHC] #1074: -fwarn-unused-imports complains about wrong import

2008-10-10 Thread GHC
#1074: -fwarn-unused-imports complains about wrong import --+- Reporter: guest | Owner: Type: bug | Status: new Priority: high |

Re: [GHC] #2636: Error message for missing import substantially worse in 6.9/6.11

2008-10-10 Thread GHC
#2636: Error message for missing import substantially worse in 6.9/6.11 --+- Reporter: NeilMitchell | Owner: igloo Type: merge | Status: new Priority: high

Re: [GHC] #2319: STM not as fair as it could be

2008-10-10 Thread GHC
#2319: STM not as fair as it could be --+- Reporter: josef | Owner: igloo Type: merge | Status: new Priority: normal| Milestone:

Re: [GHC] #1074: -fwarn-unused-imports complains about wrong import

2008-10-10 Thread GHC
#1074: -fwarn-unused-imports complains about wrong import --+- Reporter: guest | Owner: Type: bug | Status: new Priority: high |

Re: [GHC] #2673: FreeBSD built-in libedit is not compatible with GHC

2008-10-10 Thread GHC
#2673: FreeBSD built-in libedit is not compatible with GHC --+- Reporter: gmainland |Owner: Type: bug| Status: new Priority: normal |Milestone:

Re: [GHC] #2680: Type-checking performance regression

2008-10-10 Thread GHC
#2680: Type-checking performance regression --+- Reporter: igloo | Owner: Type: compile-time performance bug | Status: new Priority: high

Re: [GHC] #311: gmp's memory management

2008-10-10 Thread GHC
#311: gmp's memory management --+- Reporter: as49 | Owner: Type: bug | Status: new Priority: low | Milestone: 6.10

Re: [GHC] #2680: Type-checking performance regression

2008-10-10 Thread GHC
#2680: Type-checking performance regression --+- Reporter: igloo | Owner: Type: compile-time performance bug | Status: new Priority: high

Re: [GHC] #2680: Type-checking performance regression

2008-10-10 Thread GHC
#2680: Type-checking performance regression --+- Reporter: igloo | Owner: Type: compile-time performance bug | Status: new Priority: high

[GHC] #2682: Keep going after failed search for module in current directory

2008-10-10 Thread GHC
#2682: Keep going after failed search for module in current directory -+-- Reporter: ajd | Owner: Type: bug | Status: new Priority:

Re: [GHC] #2680: Type-checking performance regression

2008-10-10 Thread GHC
#2680: Type-checking performance regression --+- Reporter: igloo | Owner: Type: compile-time performance bug | Status: new Priority: high

[GHC] #2683: Regression with 6.10: panic in xmonad-contrib

2008-10-10 Thread GHC
#2683: Regression with 6.10: panic in xmonad-contrib ---+ Reporter: dons| Owner: Type: bug | Status: new Priority: normal | Component: Compiler

Re: libedit-20080712-2.11 under x86 Solaris

2008-10-10 Thread Judah Jacobson
On Thu, Oct 9, 2008 at 9:03 AM, Christian Maeder [EMAIL PROTECTED] wrote: Hi, I've installed libedit-20080712-2.11 (from sources) for ghc-6.10.0.20081007 under x86 Solaris. However, ghci comes up with: GHCi, version 6.10.0.20081007: http://www.haskell.org/ghc/ :? for help Loading package

Re: libedit

2008-10-10 Thread Judah Jacobson
On Thu, Oct 9, 2008 at 5:30 AM, Christian Maeder [EMAIL PROTECTED] wrote: Hi Judah, after installing rpm packages libedit0-2.10.snap20070831-5 libedit-devel-2.10.snap20070831-5 I get the error below for cabal install editline Cheers Christian checking editline/readline.h usability...

cabal-1.6.0.0

2008-10-10 Thread Duncan Coutts
I've tagged Cabal-1.6.0.0 and the tarball is on the cabal website. http://haskell.org/cabal/download.html Tomorrow I'll update the version of Cabal that hackage is using and upload Cabal-1.6.0.0 to hackage. We're also planning to bump and upload the extralib packages tomorrow. I also hope to

RE: breakage with Cabal-1.6

2008-10-10 Thread Bayley, Alistair
* Takusen-0.8.3 Imports writeHookedBuildInfo from Distribution.PackageDescription While the fix for these three packages' Setup scripts is trivial, there is not fix that will make them compile with old and new versions of the lib. For Takusen I'd be happy to fix the Setup and

Re: Backspace in ghci-6.10.1-candidate

2008-10-10 Thread Judah Jacobson
On Thu, Oct 9, 2008 at 1:28 AM, Serge D. Mechveliani [EMAIL PROTECTED] wrote: This is about testing 6.10.0.20081007. 1. DoCon works with it. 2. The question is how to `install' Backspace and UpArrow in ghci. I make it from source by 6.10-candidate and also by itself -- on Debian Linux.

Re: thread/socket behvior

2008-10-10 Thread Simon Marlow
Jeff Polakow wrote: Don Stewart [EMAIL PROTECTED] wrote on 10/09/2008 02:56:02 PM: jeff.polakow: We have a server that accepts messages over a socket, spawning threads to process them. Processing these messages may cause other, outgoing connections, to be spawned. Under

Re: ANNOUNCE: GHC 6.10.1 RC 1

2008-10-10 Thread Simon Marlow
Judah Jacobson wrote: Once small thing I've noticed: UserInterrupt (ctr-c) exceptions are not thrown in ghci, probably because it installs its own signal handlers: Prelude Control.Exception Control.Concurrent handle (\UserInterrupt - putStrLn Caught!) (threadDelay 200) ^CInterrupted. For

Re: MacPorts will use _only_ a ghc built with port install ghc, no other

2008-10-10 Thread Christian Maeder
Hi, Denis wanted to install pandoc form MacPorts and got problems (below), because he has installed my ghc-6.8.3-powerpc binary. If my binary works you could download http://hackage.haskell.org/packages/archive/pandoc/1.0.0.1/pandoc-1.0.0.1.tar.gz unpack and do the runhaskell Setup

Re: ANNOUNCE: GHC 6.10.1 RC 1

2008-10-10 Thread Judah Jacobson
On Wed, Oct 8, 2008 at 1:09 PM, Ian Lynagh [EMAIL PROTECTED] wrote: We are pleased to announce that the GHC 6.10.0.20081007 snapshot is the first release candidate for GHC 6.10.1. You can download the release candidate from here:

Re: libedit-20080712-2.11 under x86 Solaris

2008-10-10 Thread Christian Maeder
Judah Jacobson wrote: Strange; it seems like terminfo isn't looking in the right location for the xterm files. Incidentally, the dumb terminal settings may be deficient when you type a line longer than the terminal width. What OS is this? Did you download and install (n)curses manually?

Re: breakage with Cabal-1.6

2008-10-10 Thread Simon Marlow
Duncan Coutts wrote: * alex-2.2 * happy-1.17 Imports buildVerbose from Distribution.Simple.Setup ( BuildFlags(..) ) however the flag has been renamed to buildVerbosity and with a different type. I would export a compat function but it would not help here since the Setup script

Re: Backspace in ghci-6.10.1-candidate

2008-10-10 Thread Judah Jacobson
On Fri, Oct 10, 2008 at 1:42 AM, Judah Jacobson [EMAIL PROTECTED] wrote: On Thu, Oct 9, 2008 at 1:28 AM, Serge D. Mechveliani [EMAIL PROTECTED] wrote: This is about testing 6.10.0.20081007. 1. DoCon works with it. 2. The question is how to `install' Backspace and UpArrow in ghci. I make

readEither in ghc-6.10. ?

2008-10-10 Thread Christian Maeder
Hi, I've got errors when compiling with ghc-6.10.0.20081007 Not in scope: `readEither' It is imported via: import GHC.Read (readEither) and used to work with ghc-6.8. What should I use as replacement? Cheers Christian P.S. It is also not mentioned in the changes:

Breakage with ghc-6.10

2008-10-10 Thread Duncan Coutts
This is a quick summary of the results of building most of hackage using three combinations of ghc and Cabal. I reported the breakage due to Cabal-1.6 previously. This is a brief look at breakage introduced with ghc-6.10 and the associated library changes. I have build summary logs and

Re: Breakage with ghc-6.10

2008-10-10 Thread Ashley Yakeley
On Fri, 2008-10-10 at 09:08 -0700, Duncan Coutts wrote: Data/Time/Clock/CTimeval.hs:1:11: Warning: -ffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead no location info: Failing due to -Werror. Nooo!!

Re: Breakage with ghc-6.10

2008-10-10 Thread John Goerzen
Duncan Coutts wrote: Ok, lets look at hslogger: src/System/Log/Logger.hs:333:20: Couldn't match expected type `Maybe Logger' against inferred type `IO Logger' In a stmt of a 'do' expression: result - Map.lookup lname newlt Ah ok, so that's the change in Map.lookup to

Re: Breakage with ghc-6.10

2008-10-10 Thread Duncan Coutts
Sorry Ashley, I hope you didn't feel I was picking on you in particular. I realise it might have looked that way. On Fri, 2008-10-10 at 11:08 -0700, Ashley Yakeley wrote: On Fri, 2008-10-10 at 09:08 -0700, Duncan Coutts wrote: Failing due to -Werror. Nooo!!

Re: Breakage with ghc-6.10

2008-10-10 Thread John Goerzen
Duncan Coutts wrote: There are actually more instances than this in the code, but I already have fixed it in my git tree. I guess it's time to make a release. Yay! Between that and a bump for the time lib we'll probably have another ~50 packages building with 6.10. And on that note,

Re: Breakage with ghc-6.10

2008-10-10 Thread Don Stewart
jgoerzen: Duncan Coutts wrote: There are actually more instances than this in the code, but I already have fixed it in my git tree. I guess it's time to make a release. Yay! Between that and a bump for the time lib we'll probably have another ~50 packages building with 6.10.

Breakage with 6.10

2008-10-10 Thread Don Stewart
Quick summary of the latest hackage state, now hslogger has been amended. x86_64/linux/ghc-6.10/cabal-install 0.6/Cabal 1.6 1 UnpackFailed 2 DownloadFailed 2 InstallFailed 16 ConfigureFailed 71 DependencyFailed 138 BuildFailed 447 InstallOk So you can see

Re: Breakage with 6.10

2008-10-10 Thread Duncan Coutts
On Fri, 2008-10-10 at 15:34 -0700, Don Stewart wrote: arrows fails due to: [ 3 of 12] Compiling Control.Arrow.Transformer.CoState ( Control/Arrow/Transformer/CoState.hs, dist/build/Control/Arrow/Transformer/CoState.o ) Control/Arrow/Transformer/CoState.hs:24:29: Module

Illegal type synonym family application in instance (Was: Breakage with 6.10)

2008-10-10 Thread Niklas Broberg
dons: A breakdown of the remaing causes for DependencyFailed, [...] 4 hsx-0.4.4 --- src/hsx$ runhaskell Setup build [snip warnings] src\HSX\XMLGenerator.hs:71:0 Illegal type synonym family application in instance: XML m In the instance declaration for

Re: Illegal type synonym family application in instance (Was: Breakage with 6.10)

2008-10-10 Thread Niklas Broberg
Could someone help me point out the problem here? The relevant code is: instance XMLGen m = EmbedAsChild m (XML m) where asChild = return . return . xmlToChild class XMLGen m = EmbedAsChild m c where asChild :: c - GenChildList m class Monad m = XMLGen m where type XML m

Re: Illegal type synonym family application in instance (Was: Breakage with 6.10)

2008-10-10 Thread Duncan Coutts
On Sat, 2008-10-11 at 02:40 +0200, Niklas Broberg wrote: Btw, I also have problems with the haskell-src-exts that imports Data.Generics.Instances (to generate Data and Typeable instances). Where would these have moved to in the new base? And how would I make the code work with both 6.8.3 and

base-3 vs base-4 (Was: Breakage with 6.10)

2008-10-10 Thread Niklas Broberg
Btw, I also have problems with the haskell-src-exts that imports Data.Generics.Instances (to generate Data and Typeable instances). Where would these have moved to in the new base? And how would I make the code work with both 6.8.3 and 6.10? By having it use base-3 rather than 4.

Re: Illegal type synonym family application in instance (Was: Breakage with 6.10)

2008-10-10 Thread David Menendez
On Fri, Oct 10, 2008 at 8:40 PM, Niklas Broberg [EMAIL PROTECTED] wrote: src\HSX\XMLGenerator.hs:71:0 Illegal type synonym family application in instance: XML m In the instance declaration for `EmbedAsChild m (XML m)´ --- Could someone help me point out the problem here?

Re: Illegal type synonym family application in instance (Was: Breakage with 6.10)

2008-10-10 Thread Niklas Broberg
On 10/11/08, David Menendez [EMAIL PROTECTED] wrote: On Fri, Oct 10, 2008 at 8:40 PM, Niklas Broberg [EMAIL PROTECTED] wrote: src\HSX\XMLGenerator.hs:71:0 Illegal type synonym family application in instance: XML m In the instance declaration for `EmbedAsChild m (XML m)´

Releasing extralibs

2008-10-10 Thread Duncan Coutts
All, Don and I have looked through the extralibs set that came with ghc-6.8.3 and the set that will be associated with 6.10.1. I've attached a csv spreadsheet with the summary. For each package we looked at the difference between the last released version (whether that was in the 6.8.3 extralibs

Re: Releasing extralibs

2008-10-10 Thread Duncan Coutts
On Fri, 2008-10-10 at 19:42 -0700, Duncan Coutts wrote: These are the actions we need to take: Note that the changes to the exception handling in this package means the following packages no longer build with ghc-6.8.x: * HUnit * network * stm (also imports a new function from

[Haskell] Re: [Haskell-cafe] ANNOUNCE: Salsa: A .NET Bridge for Haskell

2008-10-10 Thread Alfonso Acosta
Great! Are there any chances of getting support for non-Win32 platforms with Mono? On Fri, Oct 10, 2008 at 2:12 PM, Andrew Appleyard [EMAIL PROTECTED] wrote: I'd like to announce the first release of Salsa, an experimental Haskell library that allows Haskell programs to access .NET libraries.

[Haskell] ANNOUNCE: ListZipper-1.1.0.0

2008-10-10 Thread Ryan Ingram
I was surprised to find there was no simple zipper for [] on hackage, so I made one: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/ListZipper-1.1.0.0 (1.0.0.0 had a dumb bug where I switched right and left!) Example in ghci: Prelude Data.List.Zipper let z = fromList [1,2,3]

[Haskell] Re: [Haskell-cafe] ANNOUNCE: Salsa: A .NET Bridge for Haskell

2008-10-10 Thread Don Stewart
This could be a game changer. Great work Andrew!! -- Don andrew.appleyard: I'd like to announce the first release of Salsa, an experimental Haskell library that allows Haskell programs to access .NET libraries. Here's a taste: type Hello.hs import Foreign.Salsa import Bindings

Re: [Haskell-cafe] Cabal: error on configure

2008-10-10 Thread Duncan Coutts
On Tue, 2008-10-07 at 15:50 -0400, David Barton wrote: OK, I suspect this is a real newbie error, but please have mercy. I have downloaded and installed cabal (at least it responds to the --help command from the command line). Yet when I do, say (to give a real example): cabal configure

[Haskell-cafe] Problem with package consistency on Hackage

2008-10-10 Thread Antoine Latter
Folks, I'm not sure who to email about this, but hopefully someone on the cafe knows: On the machine which builds the Hackage packages the 'binary' package is built against 'bytestring-0.9.1.2', however the package I just uploaded gets built against 'bytestring-0.9.1.3' which leades to typecheck

Re: [Haskell-cafe] [] vs [()]

2008-10-10 Thread Ryan Ingram
(This is a literate haskell post, save into SMM.lhs and load in ghci!) Here's one place you might use [()] and []: guard :: Bool - [()] guard True = [()] guard False = [] You can then use guard in monadic list computations to abort the computation on some branches: sendmoney :: [[Int]]

Re: [Haskell-cafe] ANNOUNCE: Salsa: A .NET Bridge for Haskell

2008-10-10 Thread Alfonso Acosta
Great! Are there any chances of getting support for non-Win32 platforms with Mono? On Fri, Oct 10, 2008 at 2:12 PM, Andrew Appleyard [EMAIL PROTECTED] wrote: I'd like to announce the first release of Salsa, an experimental Haskell library that allows Haskell programs to access .NET libraries.

re: [Haskell-cafe] Functional progarmming at JAOO

2008-10-10 Thread Robert Pickering
Hi Simon, Thanks for link! I attended JAOO and there were some great talks on programminng langauges, I really enjoyed Guy Steele's introduction to Fortres and Eric Meijer's Fundamentalist Functional Programming, as well as Anders Hejlsberg's talk, and there were also talks on Scala and F#.

[Haskell-cafe] Re: Problem with package consistency on Hackage

2008-10-10 Thread Simon Marlow
Antoine Latter wrote: Folks, I'm not sure who to email about this, but hopefully someone on the cafe knows: On the machine which builds the Hackage packages the 'binary' package is built against 'bytestring-0.9.1.2', however the package I just uploaded gets built against 'bytestring-0.9.1.3'

Re: [Haskell-cafe] Cabal: error on configure

2008-10-10 Thread Alfonso Acosta
On Tue, Oct 7, 2008 at 9:50 PM, David Barton [EMAIL PROTECTED] wrote: OK, I suspect this is a real newbie error, but please have mercy. I have downloaded and installed cabal (at least it responds to the --help command from the command line). Yet when I do, say (to give a real example):

Re: [Haskell-cafe] ANNOUNCE: darcs 2.1.0 (corrected!)

2008-10-10 Thread Iain Lane
2008/10/9 Eric Kow [EMAIL PROTECTED]: Hi all, I am delighted to announce the release of darcs 2.1.0, available at http://darcs.net/darcs-2.1.0.tar.gz Yay! Ubuntu packages at the usual place: https://launchpad.net/~laney/+archive Note that I inadvertently messed up the version numbering

[Haskell-cafe] ANNOUNCE: Salsa: A .NET Bridge for Haskell

2008-10-10 Thread Andrew Appleyard
I'd like to announce the first release of Salsa, an experimental Haskell library that allows Haskell programs to access .NET libraries. Here's a taste: type Hello.hs import Foreign.Salsa import Bindings main = withCLR $ do _Console # _writeLine (Hello .NET World!) type

[Haskell-cafe] Re: [] vs [()]

2008-10-10 Thread Mauricio
What is the difference between empty list [] and list with one unit element [()]? Or, yet: ():[()] --is legal 10:[()] --is not One list can contain elements of a single type. Since the type of () is () (element constructors and types are allowed to have the same name), a list of type [()]

[Haskell-cafe] Re: ANNOUNCE: maccatcher-1.0.0

2008-10-10 Thread Jeff Zaroyko
Jason Dusek jason.dusek at gmail.com writes: This simple little package obtains a MAC address on *NIX and Windows. It is known to work on Linux, OS X and Windows XP. There is no C fanciness in this package -- it relies on shell commands. The MAC is cached after the first query,

Re: [Haskell-cafe] ANNOUNCE: Salsa: A .NET Bridge for Haskell

2008-10-10 Thread Don Stewart
This could be a game changer. Great work Andrew!! -- Don andrew.appleyard: I'd like to announce the first release of Salsa, an experimental Haskell library that allows Haskell programs to access .NET libraries. Here's a taste: type Hello.hs import Foreign.Salsa import Bindings

Re: [Haskell-cafe] [] vs [()]

2008-10-10 Thread Jonathan Cast
On Fri, 2008-10-10 at 10:59 -0700, Daryoush Mehrtash wrote: I was in fact trying to figure out how guard worked in the do. The interesting (for a beginner) insight is that: [()] map f = [f] I don't think any clarity is added by made-up notation. I think you mean map f [()] =

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Iain Barnett
On 9 Oct 2008, at 9:33 pm, Andrew Coppin wrote: I think it's just the teaching of the language that needs work, not so much the language itself. As a newer user myself, I'd agree with this statement. I'd like to see far more mundane tasks solved in tutorials. The number of times

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Jonathan Cast
On Fri, 2008-10-10 at 19:08 +0100, Iain Barnett wrote: On 9 Oct 2008, at 9:33 pm, Andrew Coppin wrote: I think it's just the teaching of the language that needs work, not so much the language itself. As a newer user myself, I'd agree with this statement. I'd like to see far more

Re: [Haskell-cafe] [] vs [()]

2008-10-10 Thread Daryoush Mehrtash
I don't think any clarity is added by made-up notation. I think you mean In fact I was trying to be correct on this. Is it wrong to show: [()] f = f as was doing: [()] map f = [f] I want to say map function f over a single element list will yield a list of single element, the element being

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Iain Barnett
On 10 Oct 2008, at 7:05 pm, Jonathan Cast wrote: On Fri, 2008-10-10 at 19:08 +0100, Iain Barnett wrote: In Haskell it is. Parsec makes recursive descent parsers as easy to use in Haskell as regexps are in Perl. No reason not to expose newcomers to Haskell to the thing it does best. jcc

Re: [Haskell-cafe] [] vs [()]

2008-10-10 Thread Daryoush Mehrtash
I was in fact trying to figure out how guard worked in the do.The interesting (for a beginner) insight is that: [()] map f = [f] --( just as any list with one element would have been such as [1] map f = [f] ) where as [] map f = [] so if your guard computes to [()] (or any list of

Re: [Haskell-cafe] [] vs [()]

2008-10-10 Thread Jonathan Cast
On Fri, 2008-10-10 at 11:14 -0700, Daryoush Mehrtash wrote: I don't think any clarity is added by made-up notation. I think you mean In fact I was trying to be correct on this. Great! Is it wrong to show: [()] f = f as was doing: [()] map f = [f] Yes.

[Haskell-cafe] Haskell in Artificial Intelligence

2008-10-10 Thread Christos Chryssochoidis
Greetings, I'm interested in doing a survey about the use of Haskell in the field of Artificial Intelligence. I searched in Google, and found in the HaskellWiki, at www.haskell.org/haskellwiki/Haskell_in_industry, two organizations that use Haskell and do work related to AI. Besides that, I

Re: [Haskell] Re: [Haskell-cafe] ANNOUNCE: Salsa: A .NET Bridge for Haskell

2008-10-10 Thread Niklas Broberg
This could be a game changer. Great work Andrew!! Totally agreed, on both accounts. Really interesting to see. -- Don What, no Arch Linux port? :-) Cheers, /Niklas ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] ANNOUNCE: Salsa: A .NET Bridge for Haskell

2008-10-10 Thread Andrew Coppin
Don Stewart wrote: This could be a game changer. In what way? As far as I'm aware, .NET never really caught on and has long since become obsolete. Or do you just mean the type system machinery that has been developed could be used for other projects? Great work Andrew!! Yes

Re: [Haskell-cafe] ANNOUNCE: Salsa: A .NET Bridge for Haskell

2008-10-10 Thread John Van Enk
.NET never really caught on and has long since become obsolete. Oh, if only this was the case. :( You wouldn't believe the things I have to make .NET run on (but I can't talk about it... yay for NDAs). /jve On Fri, Oct 10, 2008 at 3:48 PM, Andrew Coppin [EMAIL PROTECTED]wrote: Don Stewart

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Tommy M. McGuire
Iain Barnett wrote: On 9 Oct 2008, at 9:33 pm, Andrew Coppin wrote: I think it's just the teaching of the language that needs work, not so much the language itself. As a newer user myself, I'd agree with this statement. I'd like to see far more mundane tasks solved in tutorials. I

Re: [Haskell-cafe] ANNOUNCE: Salsa: A .NET Bridge for Haskell

2008-10-10 Thread Anton van Straaten
Andrew Coppin wrote: Don Stewart wrote: This could be a game changer. In what way? As far as I'm aware, .NET never really caught on and has long since become obsolete. Wha? Microsoft's programming languages all now depend on and compile to .NET runtime (the CLR), including C#,

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Jonathan Cast
On Fri, 2008-10-10 at 15:00 -0500, Tommy M. McGuire wrote: On 10 Oct 2008, at 7:05 pm, Jonathan Cast wrote: Parsec makes recursive descent parsers as easy to use in Haskell as regexps are in Perl. No reason not to expose newcomers to Haskell to the thing it does best. Is it wrong to

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Don Stewart
jason.dusek: Tommy M. McGuire [EMAIL PROTECTED] wrote: Is it wrong to use Parsec to parse regular expressions for a really simple regex engine[4]? I sometimes think it is better, from a maintainability standpoint, to just use Parsec for all that stuff and forget about regular

Re: [Haskell-cafe] synchronous channels in STM

2008-10-10 Thread Jules Bean
roger peppe wrote: By the way, where does FRP (which I haven't got my head around yet) sit with respect to STM? Entirely orthogonal. FRP is not generally thought of as (explicitly) threaded at all. It's more declarative than that. It's also supposed to be deterministic (up to the

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Jason Dusek
Tommy M. McGuire [EMAIL PROTECTED] wrote: The mathematical doodahs are *very* useful, much more so than any other language I have used, but it helps to have some kind of foundation to understand how and why. I am frequently reminded of a How to Draw page from the Tick[3] comic, which went

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Steve Schafer
On Fri, 10 Oct 2008 11:05:43 -0700, Jonathan Cast wrote: No reason not to expose newcomers to Haskell to the thing it does best. This is precisely why newcomers flounder. Yes, there certainly should be a Haskell for experienced Java/C++ programmers : All of the advanced things you can do more

Re: [Haskell-cafe] ANNOUNCE: Salsa: A .NET Bridge for Haskell

2008-10-10 Thread Andrew Coppin
Anton van Straaten wrote: I've heard people at more than one company say that if they could access .NET well from Haskell, they wouldn't be as interested in F#. Mmm, I could see how that would work... ;-) ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Jonathan Cast
On Fri, 2008-10-10 at 22:24 +0100, Iain Barnett wrote: On 10 Oct 2008, at 9:00 pm, Tommy M. McGuire wrote: Iain Barnett wrote: On 9 Oct 2008, at 9:33 pm, Andrew Coppin wrote: I think it's just the teaching of the language that needs work, not so much the language itself. As a newer

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Andrew Coppin
Steve Schafer wrote: On Fri, 10 Oct 2008 11:05:43 -0700, Jonathan Cast wrote: No reason not to expose newcomers to Haskell to the thing it does best. This is precisely why newcomers flounder. Yes, there certainly should be a Haskell for experienced Java/C++ programmers : All of the

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Jonathan Cast
On Fri, 2008-10-10 at 19:27 +0100, Iain Barnett wrote: On 10 Oct 2008, at 7:05 pm, Jonathan Cast wrote: On Fri, 2008-10-10 at 19:08 +0100, Iain Barnett wrote: In Haskell it is. Parsec makes recursive descent parsers as easy to use in Haskell as regexps are in Perl. No reason not to

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Martin DeMello
On Fri, Oct 10, 2008 at 2:31 PM, Jonathan Cast [EMAIL PROTECTED] wrote: On Fri, 2008-10-10 at 17:13 -0400, Steve Schafer wrote: On Fri, 10 Oct 2008 11:05:43 -0700, Jonathan Cast wrote: No reason not to expose newcomers to Haskell to the thing it does best. This is precisely why newcomers

[Haskell-cafe] Re: Interesting new user perspective

2008-10-10 Thread Simon Michael
[4] http://www.crsr.net/Programming_Languages/SoftwareTools/ch6.html Hi Tommy, I had never seen this before. It nicely fills a gap, and I really like the format and the writing. Bookmarked. Thanks! -Simon ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Andrew Coppin
Jonathan Cast wrote: Newcomers flounder because they expect to keep programming the same way they always have. _Some_ newcommers flounder because they expect Haskell to be just another VB / C++ / Java / whatever. (Do we really want to encourage these people to be learning Haskell in the

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Jonathan Cast
On Fri, 2008-10-10 at 22:40 +0100, Andrew Coppin wrote: Iain Barnett wrote: On 10 Oct 2008, at 9:50 pm, Don Stewart wrote: Haskell makes constructing true parsers just as easy, You're not speaking for me there! :) I really like regex. It's a domain specific functional language,

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Andrew Coppin
Martin DeMello wrote: http://blog.moertel.com/articles/2006/10/18/a-type-based-solution-to-the-strings-problem is a brilliant example of a common workaday problem found in other languages, and solved elegantly in Haskell Oh, hey, that's pretty nice...

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Jonathan Cast
On Fri, 2008-10-10 at 22:49 +0100, Andrew Coppin wrote: Jonathan Cast wrote: Newcomers flounder because they expect to keep programming the same way they always have. _Some_ newcommers flounder because they expect Haskell to be just another VB / C++ / Java / whatever. (Do we really want

  1   2   >