[Haskell] ANNOUNCE: Haskell File Manager

2009-04-26 Thread Michael Dever
Hi, The first release of Haskell File Manager has been uploaded to http://code.haskell.org/haskellfm This is a program for viewing/managing the files on your computer. It has all the common functionality you would expect from your current file manager, copying, moving, deleting, renaming,

Re: [Haskell] ANNOUNCE: Haskell File Manager

2009-04-26 Thread Don Stewart
Well done! Any screenshots? michael.dever2: Hi, The first release of Haskell File Manager has been uploaded to http:// code.haskell.org/haskellfm This is a program for viewing/managing the files on your computer. It has all the common functionality you would expect from your current

Re: [Haskell] ANNOUNCE: Haskell File Manager

2009-04-26 Thread Thomas Davie
On 26 Apr 2009, at 18:24, Michael Dever wrote: Hi, The first release of Haskell File Manager has been uploaded to http://code.haskell.org/haskellfm This is a program for viewing/managing the files on your computer. It has all the common functionality you would expect from your current

Re: [Haskell] ANNOUNCE: Haskell File Manager

2009-04-26 Thread Michael Dever
FYI, The blog with a screenshot of it: http://www.mickinator.com/wordpress/?cat=5 Regards, Michael On 26/04/2009 17:24, Michael Dever michael.dev...@mail.dcu.ie wrote: Hi, The first release of Haskell File Manager has been uploaded to http://code.haskell.org/haskellfm This is a

Re: [Haskell] ANNOUNCE: Haskell File Manager

2009-04-26 Thread Deniz Dogan
2009/4/26 Michael Dever michael.dev...@mail.dcu.ie: Hi, The first release of Haskell File Manager has been uploaded to http://code.haskell.org/haskellfm This is a program for viewing/managing the files on your computer. It has all the common functionality you would expect from your current

Re: [GHC] #912: Build system is missing various dependencies

2009-04-26 Thread GHC
#912: Build system is missing various dependencies -+-- Reporter: simonmar |Owner: Type: bug | Status: closed Priority: high |

Re: [GHC] #2789: GMP update required

2009-04-26 Thread GHC
#2789: GMP update required -+-- Reporter: simonmar |Owner: igloo Type: task | Status: closed Priority: normal|Milestone: 6.12.1

Re: [GHC] #3183: unhelpful wording in module error message

2009-04-26 Thread GHC
#3183: unhelpful wording in module error message -+-- Reporter: duncan|Owner: Type: bug | Status: closed Priority: normal|

Re: [GHC] #1409: Allow recursively dependent modules transparently (without .hs-boot or anything)

2009-04-26 Thread GHC
#1409: Allow recursively dependent modules transparently (without .hs-boot or anything) -+-- Reporter: Isaac Dupree |Owner: Type: feature request | Status: new

[GHC] #3193: line number for GADT type error is very inaccurate

2009-04-26 Thread GHC
#3193: line number for GADT type error is very inaccurate ---+ Reporter: nr | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 6.11|

[GHC] #3194: Spurious reading of keyboard in GHCi

2009-04-26 Thread GHC
#3194: Spurious reading of keyboard in GHCi +--- Reporter: TimA | Owner: Type: bug | Status: new Priority: normal | Component: GHCi Version:

Re: [GHC] #831: GHCi user interface bug

2009-04-26 Thread GHC
#831: GHCi user interface bug --+- Reporter: guest |Owner: Type: bug| Status: new Priority: low|Milestone: _|_ Component: GHCi | Version:

Re: [GHC] #3194: Spurious reading of keyboard in GHCi

2009-04-26 Thread GHC
#3194: Spurious reading of keyboard in GHCi ---+ Reporter: TimA|Owner: Type: bug | Status: closed Priority: normal |Milestone:

Re: [GHC] #3171: threadDelay causes Ctrl-C to be ignored when running interpreted code

2009-04-26 Thread GHC
#3171: threadDelay causes Ctrl-C to be ignored when running interpreted code ---+ Reporter: chowells|Owner: igloo Type: merge | Status: closed Priority: normal

Re: [GHC] #1409: Allow recursively dependent modules transparently (without .hs-boot or anything)

2009-04-26 Thread GHC
#1409: Allow recursively dependent modules transparently (without .hs-boot or anything) +--- Reporter: Isaac Dupree |Owner: Type: feature request | Status: new Priority:

Re: [GHC] #2790: Use -fregs-graph by default

2009-04-26 Thread GHC
#2790: Use -fregs-graph by default -+-- Reporter: igloo |Owner: Type: task | Status: new Priority: high |Milestone:

Re: [GHC] #2790: Use -fregs-graph by default

2009-04-26 Thread GHC
#2790: Use -fregs-graph by default -+-- Reporter: igloo |Owner: benl Type: task | Status: assigned Priority: high |Milestone:

Re: [GHC] #3114: ghc -shared --make gives panic

2009-04-26 Thread GHC
#3114: ghc -shared --make gives panic +--- Reporter: Mark_Spezzano|Owner: Type: bug | Status: new Priority: normal |

Re: [GHC] #1409: Allow recursively dependent modules transparently (without .hs-boot or anything)

2009-04-26 Thread GHC
#1409: Allow recursively dependent modules transparently (without .hs-boot or anything) +--- Reporter: Isaac Dupree |Owner: Type: feature request | Status: new Priority:

Re: [GHC] #1409: Allow recursively dependent modules transparently (without .hs-boot or anything)

2009-04-26 Thread GHC
#1409: Allow recursively dependent modules transparently (without .hs-boot or anything) -+-- Reporter: Isaac Dupree |Owner: Type: feature request | Status: new

Re: Some suggestion for mutually recursive modules problem.

2009-04-26 Thread Isaac Dupree
Andy Stewart wrote: Now GHC use .hs-boot fix mutually recursive modules problem, yes it can work, but it not pretty. So GHC can fix this problem automatically at next release version? Please add yourself (that is, your e-mail address) to the cc: on the corresponding bug-report, if you want

Re: 6.10.3 plans

2009-04-26 Thread Sigbjorn Finne
On 4/25/2009 07:16, Ian Lynagh wrote: On Fri, Apr 24, 2009 at 11:08:38AM +0100, Simon Marlow wrote: We do have a WARNING pragma, incedentally: http://www.haskell.org/ghc/docs/latest/html/users_guide/pragmas.html#warning-deprecated-pragma I don't think that using it for this would be

Re: Newby question re quicksort

2009-04-26 Thread leledumbo
I think you miss something important here: quickslop :: (Ord a) = [a] -[a] quickslop [] = [] quickslop (x:xs) = quickslop [a | a - xs, a = x] ++ [x] ++ quickslop [b | b - xs, b x] -- View this message in context: http://www.nabble.com/Newby-question-re-quicksort-tp23250159p23250345.html

[Haskell-cafe] Type constraints and classes

2009-04-26 Thread Neil Brown
Hi, I have a Haskell problem that keeps cropping up and I wondered if there was any solution/work-around/dirty-hack that could help. I keep wanting to define class instances for things like Functor or Monad, but with restrictions on the inner type. I'll explain with an example, because I

Re: [Haskell-cafe] Type constraints and classes

2009-04-26 Thread Miguel Mitrofanov
{-# LANGUAGE MultiParamTypeClasses #-} class Returnable m a where ret :: a - m a class Bindable m a b where bind :: m a - (a - m b) - m b newtype MOAMonad r m a = MOAMonad ((a - m r) - m r) instance Monad (MOAMonad r m) where return x = MOAMonad $ ($ x) MOAMonad h = f = MOAMonad $ \p - h

Re: Is 78 characters still a good option? Was: [Haskell-cafe] breaking too long lines

2009-04-26 Thread Daniel Fischer
Am Sonntag 26 April 2009 04:38:42 schrieb Jason Dusek:  As always, opinions on aesthetics differ slightly, but overall, everyone seems to mostly agree...   Eh? Since when did they mostly agree? The 200 column example   we've seen brought out a lot of disagreement. Well, to be picky, Bob

Re: [Haskell-cafe] Type constraints and classes

2009-04-26 Thread Thomas van Noort
This is a recurring problem[1] and I'm still looking for a really satisfying solution. The only working and non-verbose solution I found is the one Miguel suggests. Although I'm not too fond of splitting up the monadic functions into separate type classes. A similar solution is described

[Haskell-cafe] Haskell/JS -- better through typeclasses?

2009-04-26 Thread Dimitry Golubovsky
Jason and everybody interested, Please check out a package I recently (just by coincidence: I haven't seen this topic on the list until after I uploaded it) uploaded to Hackage: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/jsmw-0.1 This is a basic monadic interface to Javascript

Re: [Haskell-cafe] ghci debugger problem with :continue. is it broken, or is it me?

2009-04-26 Thread Bernie Pope
2009/4/25 Thomas Hartman tphya...@gmail.com In the program below, can someone explain the following debugger output to me? After :continue, shouldn't I hit the f breakpoint two more times? Why do I only hit the f breakpoint once? Is this a problem in the debugger?

[Haskell-cafe] Re: Numeric Prelude and identifiers

2009-04-26 Thread Kalman Noel
Henning Thielemann schrieb: On Mon, 6 Apr 2009, Kalman Noel wrote: I'm not complaining, and I'm not sure what I mean :) I may like a scheme where functions operating on a type or type class live in a module seperate from the type (class) definition, so you could import a specific module

Re: [Haskell-cafe] Type constraints and classes

2009-04-26 Thread Brent Yorgey
On Sun, Apr 26, 2009 at 03:23:17PM +0200, Thomas van Noort wrote: This is a recurring problem[1] and I'm still looking for a really satisfying solution. The only working and non-verbose solution I found is the one Miguel suggests. Although I'm not too fond of splitting up the monadic

[Haskell-cafe] Is curryfication practical with dynamic scope?

2009-04-26 Thread Loup Vaillant
Hi, can this code (\a - \b - a) 1 2 eval to normal form in a strict language with dynamic scope? Thanks, Loup PS: some context: I am currently implementing a toy language. The AST is this one: data whnf = -- Weak Head Normal Form | Unit | Int of int | Bool of bool | Prim of (whnf -

Re: [Haskell-cafe] Haskell/JS -- better through typeclasses?

2009-04-26 Thread John A. De Goes
I can't speak for Jason, but for me, this is not very useful. I don't want to write in a Haskell DSL, I want to write in Haskell. And not the whole program, either, just the parts that really lend themselves to functional programming (parsers, numeric computations, code generators,

Re: [Haskell-cafe] Haskell/JS -- better through typeclasses?

2009-04-26 Thread Jason Dusek
2009/04/26 John A. De Goes j...@n-brain.net: I can't speak for Jason, but for me, this is not very useful. I don't want to write in a Haskell DSL, I want to write in Haskell. And not the whole program, either, just the parts that really lend themselves to functional programming (parsers,

Re: [Haskell-cafe] Haskell/JS -- better through typeclasses?

2009-04-26 Thread John A. De Goes
On Apr 26, 2009, at 10:18 AM, Jason Dusek wrote: This was what I was originally writing in about, yeah. However, thinking it over I realize there are some serious problems. We really do want to work with a restricted subset of Haskell that is more amenable to translation -- one with finite

Re: [Haskell-cafe] How to install HOpenGL to Windows?

2009-04-26 Thread Sven Panne
Am Donnerstag, 9. April 2009 00:28:35 schrieb Peter Verswyvelen: Yes I totally agree that it is overkill. Ideally I would like every package to install on Windows without requiring MinGW. But I was just explaining the situation as it is right now. Well, I don't like using autoconf, either, but

Re: [Haskell-cafe] ANN: Bamse-0.9.4, a Windows Installer generator

2009-04-26 Thread Justin Bailey
How does this compare to WiX? I haven't looked at the docs yet ... On Sat, Apr 25, 2009 at 4:59 PM, Sigbjorn Finne sigbjorn.fi...@gmail.com wrote: Hi, a new version of Bamse has been uploaded to hackage,  http://hackage.haskell.org/cgi-bin/hackage-scripts/package/bamse Bamse is a package

[Haskell-cafe] Haskell/JS -- better through typeclasses?

2009-04-26 Thread Dimitry Golubovsky
John wrote: I can't speak for Jason, but for me, this is not very useful. I don't want to write in a Haskell DSL, I want to write in Haskell. And not the whole program, either, just the parts that really lend themselves to functional programming (parsers, numeric computations, code

Re: [Haskell-cafe] Haskell/JS -- better through typeclasses?

2009-04-26 Thread Jason Dusek
2009/04/26 John A. De Goes j...@n-brain.net: 2009/04/26 Jason Dusek:  This was what I was originally writing in about, yeah.  However, thinking it over I realize there are some serious  problems. We really do want to work with a restricted subset  of Haskell that is more amenable to translation

Re: [Haskell-cafe] Haskell/JS -- better through typeclasses?

2009-04-26 Thread Jason Dusek
2009/04/26 Dimitry Golubovsky golubov...@gmail.com: John wrote: I can't speak for Jason, but for me, this is not very useful. I don't want to write in a Haskell DSL, I want to write in Haskell. And not the whole program, either, just the parts that really lend themselves to functional

Re: [Haskell-cafe] ANN: Bamse-0.9.4, a Windows Installer generator

2009-04-26 Thread Sigbjorn Finne
Hi, various people have over the years suggested and tried using WiX from Haskell, so I'll leave it to them to comment possibly compare the two. I'm sure it blows Bamse out of the water as far as functionality goes. --sigbjorn On 4/26/2009 11:00, Justin Bailey wrote: How does this compare to

[Haskell-cafe] Re: Haskell/JS -- better through typeclasses?

2009-04-26 Thread Stefan Monnier
There's a tool for converting SML to JavaScript: Such tools converting between different languages, are usually called compilers, by the way. Stefan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] installing Sqlite3 driver for windows

2009-04-26 Thread Bartosz Wójcik
I've installed recently hsdc-sqlit3 on my Windows. I remember it was enough to copy dll to system32, header .h to somewhere and key in path to both to cabal file. Then usual stuff with setup. It worked and I managed to access DB. best, Bartek On Thursday 23 April 2009 03:13:38 Michael P Mossey

[Haskell-cafe] ANN: atom-0.0.2

2009-04-26 Thread Tom Hawkins
Atom is a DSL in Haskell for designed hard realtime embedded programs. At Eaton, we are using it to control hydraulic hybrid refuse trucks and shuttle buses. After my talk at CUFP (http://cufp.galois.com/2008/schedule.html), a few people inquired about atom -- I finally had a chance to upload it

[Haskell-cafe] Re: Is curryfication practical with dynamic scope?

2009-04-26 Thread Loup Vaillant
Well, 2 things: first, I meant currying. second, I found the answer: no. Under dynamic typing, the reduction steps are: (\a - \b - a) 1 2 (\b - a) 2 -- the substitution don't occur right away (that would be lexical scope) a ?? a is not in the environment!! Sorry for the noise. PS: In a meta

Re: Is 78 characters still a good option? Was: [Haskell-cafe] breaking too long lines

2009-04-26 Thread Jason Dusek
2009/04/26 Daniel Fischer daniel.is.fisc...@web.de: While I can easily imagine the need for 100-character lines to improve readability, 200 is way beyond my imagination :) It's not beyond someone's imagination, though. Would you like that line to land on your screen? If we do not

Re: [Haskell-cafe] How to install HOpenGL to Windows?

2009-04-26 Thread Duncan Coutts
On Sun, 2009-04-26 at 19:03 +0200, Sven Panne wrote: The build process in itself is purely Cabal-based, it is only the configuration above which done via autoconf. So in theory you could write the few output files of the configure run by hand and then use Cabal, without any MinGW/MSYS or

Re: Is 78 characters still a good option? Was: [Haskell-cafe] breaking too long lines

2009-04-26 Thread Daniel Fischer
Am Sonntag 26 April 2009 23:08:41 schrieb Jason Dusek: 2009/04/26 Daniel Fischer daniel.is.fisc...@web.de: While I can easily imagine the need for 100-character lines to improve readability, 200 is way beyond my imagination :) It's not beyond someone's imagination, though. Would you like

Re: Is 78 characters still a good option? Was: [Haskell-cafe] breaking too long lines

2009-04-26 Thread Jason Dusek
2009/04/26 Miguel miguelim...@yandex.ru: 2009/04/26 Jason Dusek jason.du...@gmail.com:  If we do not preserve the old ways, it'll be anarchy all the  way down. How exactly are you going to preserve old ways? Whenever are we are presented with the a question of correct conduct, we must

Re: [Haskell-cafe] Random number example

2009-04-26 Thread michael rice
How do I define type Random [Int] for rollNDice in Exercise 1, given the code below? Michael Exercises    1. Implement rollNDice :: Int - Random [Int] from the previous subsection with = and return. NOTE: Since = and return are already present in the Prelude, you may want to

Re: [Haskell-cafe] ANN: atom-0.0.2

2009-04-26 Thread John Van Enk
Tom, A huge thanks for sharing this. /jve On Sun, Apr 26, 2009 at 4:39 PM, Tom Hawkins tomahawk...@gmail.com wrote: Atom is a DSL in Haskell for designed hard realtime embedded programs. At Eaton, we are using it to control hydraulic hybrid refuse trucks and shuttle buses. After my talk

Re: Is 78 characters still a good option? Was: [Haskell-cafe] breaking too long lines

2009-04-26 Thread Richard O'Keefe
On 25 Apr 2009, at 8:59 pm, Miguel Mitrofanov wrote: Something like newtype MyCoolMonad = MyCoolMonad (FirstTransformer (SecondTransformer (ThirdTransformer Whatever))) deriving (Functor, Monad, FirstClass, SecondClass, ThirdClass, SomeOtherClass) Nobody would be really interested in

[Haskell-cafe] Runge-Kutta and architectural style

2009-04-26 Thread Richard O'Keefe
I was interested to see a Runge-Kutta package posted to this list recently, particularly as I have a fairly simple-minded non-adaptive RK generator: an AWK script that takes a table and some optional stuff and spits out C. The Haskell package is, of course, a lot prettier than my AWK program, as

[Haskell-cafe] old-time conflict when installing phooey

2009-04-26 Thread Daryoush Mehrtash
When I try to install phooey I get conflict with old-time that I am not sure how to resolve. Any ideas? cabal install phooey Resolving dependencies... cabal: dependencies conflict: ghc-6.10.1 requires old-time ==1.0.0.2 however old-time-1.0.0.2 was excluded because ghc-6.10.1 requires