Re: [GHC] #3938: Data growth issue in System.Timeout

2010-03-24 Thread GHC
#3938: Data growth issue in System.Timeout --+- Reporter: leimy| Owner: Type: bug | Status: closed Priority: normal |

Re: [GHC] #3642: GHC does not build using the Haskell Platform on Windows

2010-03-24 Thread GHC
#3642: GHC does not build using the Haskell Platform on Windows ---+ Reporter: simonmar | Owner: igloo Type: bug | Status: reopened Priority: high |

Re: [GHC] #3937: Cannot killThread in listen/accept on Windows threaded runtime

2010-03-24 Thread GHC
#3937: Cannot killThread in listen/accept on Windows threaded runtime ---+ Reporter: guest |Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #3937: Cannot killThread in listen/accept on Windows threaded runtime

2010-03-24 Thread GHC
#3937: Cannot killThread in listen/accept on Windows threaded runtime ---+ Reporter: guest |Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #1380: Safe Haskell

2010-03-24 Thread GHC
#1380: Safe Haskell -+-- Reporter: igloo |Owner: Type: feature request | Status: new Priority: normal|Milestone: _|_

Re: [GHC] #3863: Absolute paths to GCC and perl should not be baked into the compiler.

2010-03-24 Thread GHC
#3863: Absolute paths to GCC and perl should not be baked into the compiler. -+-- Reporter: benl |Owner: igloo Type: bug | Status: new

Re: [GHC] #3893: GHC on Windows lacks C++ support

2010-03-24 Thread GHC
#3893: GHC on Windows lacks C++ support -+-- Reporter: NeilMitchell | Owner: Type: bug | Status: new Priority: normal| Component: Compiler

Re: [GHC] #3837: hsc2hs and utf-8

2010-03-24 Thread GHC
#3837: hsc2hs and utf-8 +--- Reporter: TaruKarttunen | Owner: igloo Type: merge | Status: closed Priority: normal | Milestone: 6.12.2

Re: [GHC] #3914: handleToFd closes Fd when Handle is GC'd

2010-03-24 Thread GHC
#3914: handleToFd closes Fd when Handle is GC'd --+- Reporter: danderson| Owner: igloo Type: merge| Status: closed Priority: normal

Re: [GHC] #3642: GHC does not build using the Haskell Platform on Windows

2010-03-24 Thread GHC
#3642: GHC does not build using the Haskell Platform on Windows ---+ Reporter: simonmar | Owner: igloo Type: bug | Status: closed Priority: high |

Re: [GHC] #3863: Absolute paths to GCC and perl should not be baked into the compiler.

2010-03-24 Thread GHC
#3863: Absolute paths to GCC and perl should not be baked into the compiler. -+-- Reporter: benl| Owner: igloo Type: bug | Status: closed

Re: [GHC] #3798: Problem with wxHaskell

2010-03-24 Thread GHC
#3798: Problem with wxHaskell -+-- Reporter: MNorrish |Owner: Type: bug | Status: new Priority: normal|Milestone: 6.12.2 Component: GHCi

Re: [GHC] #3605: Dll's freeze with -threaded

2010-03-24 Thread GHC
#3605: Dll's freeze with -threaded -+-- Reporter: NeilMitchell |Owner: NeilMitchell Type: bug | Status: new Priority: high |Milestone: 6.12.2

Re: [GHC] #3931: extensible-exceptions 0.1.1.1 fails to build on GHC 6.8 (Cabal 1.2)

2010-03-24 Thread GHC
#3931: extensible-exceptions 0.1.1.1 fails to build on GHC 6.8 (Cabal 1.2) -+-- Reporter: andersk | Owner: Type: proposal | Status: new

dblatex fails to escape backslashes

2010-03-24 Thread Thanos Tsouanas
Hello list. I'm trying to compile ghc 6.12.1, but the documentation part fails because dblatex can't escape all the backslashes that it should. (I've tried dblatex-2.10, -2.11 and -2.12.) A similar problem has been discussed earlier [1], but even with Christiaan's suggested solution it fails

[Haskell] ANN: Yi 0.6.2.2

2010-03-24 Thread Jeff Wheeler
Hi everybody, I'm very excited to announce the first release of Yi in nearly a year. For most of this time, Yi has been rather tough to install because of the mess of dependencies. Today these issues were resolved, and I uploaded a new package to Hackage, so installing Yi should be as simple as:

Re: [Haskell] ANN: Yi 0.6.2.2

2010-03-24 Thread Colin Paul Adams
Jeff == Jeff Wheeler j...@nokrev.com writes: Jeff Hi everybody, I'm very excited to announce the first release Jeff of Yi in nearly a year. For most of this time, Yi has been Jeff rather tough to install because of the mess of dependencies. Jeff Today these issues were resolved,

Re: [Haskell] ANN: Yi 0.6.2.2

2010-03-24 Thread Jeff Wheeler
On Wed, Mar 24, 2010 at 2:03 PM, Colin Paul Adams co...@colina.demon.co.uk wrote: Is it for ghc 6.12 only? I guess so. 6.12 requires template-haskell ==2.4, and I couldn't get Yi to compile without explicitly adding this into its cabal file. There may be a way to set the dependencies to work

Re: [Haskell] ANN: Yi 0.6.2.2

2010-03-24 Thread Colin Paul Adams
Jeff == Jeff Wheeler j...@nokrev.com writes: Jeff On Wed, Mar 24, 2010 at 2:03 PM, Colin Paul Adams Jeff co...@colina.demon.co.uk wrote: Is it for ghc 6.12 only? Jeff I guess so. 6.12 requires template-haskell ==2.4, and I Jeff couldn't get Yi to compile without explicitly

Re: [Haskell] ANN: Yi 0.6.2.2

2010-03-24 Thread Jeff Wheeler
On Wed, Mar 24, 2010 at 2:27 PM, Colin Paul Adams co...@colina.demon.co.uk wrote: Hm. I edited the cabal file to allow = 2.3 2.5 and it just compiled. Wouldn't this work with 6.12 also? Unfortunately not. Making that change yields: yi$ cabal install Resolving dependencies... cabal:

Re: [Haskell] ANN: Yi 0.6.2.2

2010-03-24 Thread Colin Paul Adams
Jeff == Jeff Wheeler j...@nokrev.com writes: Jeff On Wed, Mar 24, 2010 at 2:27 PM, Colin Paul Adams Jeff co...@colina.demon.co.uk wrote: Hm. I edited the cabal file to allow = 2.3 2.5 and it just compiled. Wouldn't this work with 6.12 also? Jeff Unfortunately not. Anyway

Re: [Haskell] ANN: Yi 0.6.2.2

2010-03-24 Thread Jeff Wheeler
On Wed, Mar 24, 2010 at 2:46 PM, Colin Paul Adams co...@colina.demon.co.uk wrote: Anyway it works. At least, I managed to find out to save a customised version with emacs key bindings. But there is not gtk support, apparently, and I can't find out how to get help. I haven't successfully

Re: [Haskell] ANN: Yi 0.6.2.2

2010-03-24 Thread David Leimbach
Well I think I can never figure out what it is I can actually do with Yi once it's installed. Editing keys are nice, but doe it let me build modules or jump in and out of ghci? It's difficult at best to use tools with no manual. Dave On Wed, Mar 24, 2010 at 12:54 PM, Jeff Wheeler

Re: [Haskell] ANN: Yi 0.6.2.2

2010-03-24 Thread Jeff Wheeler
On Wed, Mar 24, 2010 at 3:57 PM, David Leimbach leim...@gmail.com wrote: Well I think I can never figure out what it is I can actually do with Yi once it's installed.  Editing keys are nice, but doe it let me build modules or jump in and out of ghci? I'm not sure how mature Scion is now, but

Re: [Haskell-cafe] Cabal Compiler Flag Problem

2010-03-24 Thread Ivan Miljenovic
On 24 March 2010 16:52, Ben Derrett ben.derr...@googlemail.com wrote: Thank you. I'm using GHC 6.8.2. That shouldn't be a problem Unless, of course, that syntax (it's using \e::E.SomeException) is valid in GHC = 6.10 but not previously (in which case I would think that that's a bug). I

[Haskell-cafe] Re: Cabal Compiler Flag Problem

2010-03-24 Thread Anders Kaseorg
On Wed, 24 Mar 2010, Ben Derrett wrote: Control/Monad/CatchIO.hs:146:34:     Illegal signature in pattern: E.SomeException         Use -XPatternSignatures to permit it A fix is to avoid using a pattern signature in Control/Monad/CatchIO.hs: -onException a onEx = a `catch`

[Haskell-cafe] Mail threading

2010-03-24 Thread Ketil Malde
sorry. My mistake :-). I wanted to send to haskell-cafe, so I just pick up a mail thread and send reply. But I forgot to change the title. Don't do that! Your email contains headers like the following: In-Reply-To: ccd8be491003232152u60ed0396wc01eecd00c296...@mail.gmail.com References:

[Haskell-cafe] Re: State of the Haskell Web Application Stack

2010-03-24 Thread Gour
On Tue, 23 Mar 2010 21:05:51 -0500 Ozgun == Ozgun Ataman ozata...@gmail.com wrote: Ozgun I know this is a common topic in Haskell-Cafe, but I have failed Ozgun to identify conclusive opinions from experienced Haskellers out Ozgun there in previous discussions. My apologies in advance if this

Re: [Haskell-cafe] haskell platform questions

2010-03-24 Thread wren ng thornton
Gregory Collins wrote: wren ng thornton w...@freegeek.org writes: w...@semiramis:~ $ ls /usr/local ls: /usr/local: No such file or directory w...@semiramis:~ $ ls /usr/bin/cabal ls: /usr/bin/cabal: No such file or directory But http://hackage.haskell.org/platform/new/contents.html tells me

Re: [Haskell-cafe] haskell platform questions

2010-03-24 Thread wren ng thornton
Don Stewart wrote: You should file a bug on the Haskell Platform bug tracker. http://haskell.org/haskellwiki/Haskell_Platform#Trouble_shooting And I'm CC'ing the dmg maintainer -- it may also be a GHC issue as well. -- Don warrensomebody: I downloaded the new

Re: [Haskell-cafe] Bytestrings and [Char]

2010-03-24 Thread John Lato
Hi Alberto, To some extent this already exists, it's just that nobody uses it. I believe it's the approach taken by the Edison libraries. Also the ListLike package provides the type classes ListLike, StringLike, and a few others. Neither seems to have become very popular despite having

Re: Re[Haskell-cafe] mote invocations in Haskell?

2010-03-24 Thread Håkon Lorentzen
Hi On Tue, Mar 23, 2010 at 9:46 PM, Yves Parès limestr...@gmail.com wrote: Is there a way to perform some kind of remote method invocation in haskell? (Or, remote object, but I prefer not to use this term, as there are no objects strictly speaking in Haskell) I would like to use a higher

Re: [Haskell-cafe] Sugar for function application

2010-03-24 Thread Tillmann Rendel
Brandon S. Allbery KF8NH wrote: On Mar 23, 2010, at 13:39 , Ertugrul Soeylemez wrote: layout-style syntactic sugar for function application. Here is an example of what it might look like: function $$ anArgument sin (x^2) anotherArgument f $ x + 3

Re: [Haskell-cafe] Syntax programming with lexemes rather than trees?

2010-03-24 Thread Stephen Tetley
Hi Neil Thanks - music has has lots of structure, true, but unfortunately the structure is often arbitrary, sometimes even conflicting (with respect to a nested representation). I've tried various representations: plain algebraic data types, HOAS, generics with KURE, tagless, attribute grammar

[Haskell-cafe] accents

2010-03-24 Thread Dupont Corentin
Hello, i have a list of french words with accents. How could i handle them? If i load them with ghci i get: a - readFile list.txt head $ lines a abn\233gation putStrLn displays a strange character for the é. Cheers, Corentin ___ Haskell-Cafe mailing

Re: [Haskell-cafe] accents

2010-03-24 Thread Ivan Lazar Miljenovic
Dupont Corentin corentin.dup...@gmail.com writes: a - readFile list.txt head $ lines a abn\233gation putStrLn displays a strange character for the é. That is the escaped form of é. You have several options: 1) Use the utf8-string package for I/O 2) Use the text package for I/O (and set an

Re: [Haskell-cafe] accents

2010-03-24 Thread Daniel Fischer
-Ursprüngliche Nachricht- Von: Dupont Corentin corentin.dup...@gmail.com Gesendet: 24.03.2010 11:01:32 An: haskell haskell-cafe@haskell.org Betreff: [Haskell-cafe] accents Hello, i have a list of french words with accents. How could i handle them? If i load them with ghci i get: a -

[Haskell-cafe] Re: really difficult for a beginner like me...

2010-03-24 Thread saaJamal
Ivan Amarquaye amarquaye.ivan at hotmail.com writes: thanks for the tip thereits been four gruesome days and i just don't seem to make any understanding of how to implement some changes or create some new functions due to the fact that im so new to Haskell and functional programming.

[Haskell-cafe] Re: Are there any web server framework ?

2010-03-24 Thread Gracjan Polak
Recently I started to play with Happstack and I must say I'm amazed how good it works for me! It has server, string templating, type safe html templating, persistence (like a database, only more fun), email stuff. To get a grasp at what goes under Happstack name here is a tutorial:

Re: [Haskell-cafe] Syntax programming with lexemes rather than trees?

2010-03-24 Thread Stephen Tetley
Hi Max LilyPond has already answer this one (and ABC can't handle it) - scores are collections of instrument parts and parts themselves are made of measures. In practice, I do all assembly at the score/part level with untyped pretty printing combinators, trying for a typed representation would be

[Haskell-cafe] Syntax programming with lexemes rather than trees?

2010-03-24 Thread Max Rabkin
[Sorry for the accidental off-list reply, Neil] On Tue, Mar 23, 2010 at 10:43 PM, Neil Mitchell ndmitch...@gmail.com wrote: It actually sounds like your representation has structure, but you dislike structure because it's hard to work with. It seems to me like the data has structure, but that

Re: [Haskell-cafe] Bytestrings and [Char]

2010-03-24 Thread Alberto G. Corona
Once we have a tree of type classes suitable for all containers, as you said, theoretically it shouldn't very difficult to incorporate the testing of different instances for each class used in a program, besides testing different compilation flags in a genetic algoritm. This latter has already

[Haskell-cafe] Re: really difficult for a beginner like me...

2010-03-24 Thread saaj
saaJamal aliabbas911 at hotmail.com writes: U happen to find a way for your problem? I tried a lot for more than a week now, but cant do it. I tried many tutorials but wasnt of any good. as per the above case study, I need to do is: 1) Allow words to be hyphenated and treat a hyphenated word

Re: [Haskell-cafe] Bytestrings and [Char]

2010-03-24 Thread Stephen Tetley
Hi Alberto I rather doubt a valuable set of type classes that is suitable for all containers exists, I'm afraid. If you consider containers as the containers package, the data structures are all (?) functorial - but they have different shapes, so e.g. a cons operation makes sense on the linear

Re: [Haskell-cafe] Syntax programming with lexemes rather than trees?

2010-03-24 Thread Yitzchak Gale
Stephen Tetley wrote: LilyPond has already answer this one... trying for a typed representation would be too restrictive - LilyPond has a very large LaTeX style syntax for assembling scores. I find LilyPond's very monolithic very stateful representation to be ugly and awkward. It clearly

Re: [Haskell-cafe] Re: really difficult for a beginner like me...

2010-03-24 Thread Daniel Fischer
-Ursprüngliche Nachricht- Von: saaj [ Gesendet: 24.03.2010 13:13:29 An: haskell-cafe@haskell.org Betreff: [Haskell-cafe] Re: really difficult for a beginner like me... saaJamal [ hotmail.com writes: U happen to find a way for your problem? I tried a lot for more than a week now, but

Re: [Haskell-cafe] Syntax programming with lexemes rather than trees?

2010-03-24 Thread Stephen Tetley
Hi Yitzchak Thanks for the encouragement. Funnily enough its been the working with 'repeat' syntax that has tipped the current revision of my code from being workable, somewhat ad-hoc, polish-able later into horrible - too complex, needs a simpler foundation. As for programming to LilyPond from

[Haskell-cafe] Re: really difficult for a beginner like me...

2010-03-24 Thread saaj
Thank you. I will try it What about the second part, capitalisation thing? can you help me with that as well? Treat a capitalised word (one or more capitals) as being different from the word in all lower case unless it is at the start of a sentence with only the initial letter capitalised.

[Haskell-cafe] Problem with Haskell Platform website

2010-03-24 Thread Dietrich Epp
There's a problem with the Haskell Platform website. I'm posting the message here because I gave up looking for contact information for the site, maybe someone here can forward the message or tell me who to forward it to? The specific page is http://hackage.haskell.org/platform/mac.html

Re: [Haskell-cafe] Problem with Haskell Platform website

2010-03-24 Thread Don Stewart
depp: There's a problem with the Haskell Platform website. I'm posting the message here because I gave up looking for contact information for the site, maybe someone here can forward the message or tell me who to forward it to? The specific page is

Re: [Haskell-cafe] Bytestrings and [Char]

2010-03-24 Thread John Lato
I still think that getting other authors to use it would be the biggest difficulty. Another concern of mine is that RULEs-based fusion can be fragile; if the type classes prevent fusion from occurring you'll never approach the performance of monomorphic code. That said, I think this is worth

Re: [Haskell-cafe] Bytestrings and [Char]

2010-03-24 Thread Michael Snoyman
I have a very specific StringLike typeclass in the web-encodings package so that I can- for example- to HTML entity encoding on String, (lazy) bytestrings and (lazy) text. Of course, I need to make assumptions about character encoding for the bytestring version. Michael On Wed, Mar 24, 2010 at

Re: [Haskell-cafe] Syntax programming with lexemes rather than trees?

2010-03-24 Thread Henning Thielemann
Stephen Tetley schrieb: Hello All Modern functional programming languages give you algebraic data types that are mighty convenient for programming with syntax trees. However, I'm working in a domain (music typesetting) where modelling syntax with trees can be problematic and I'm wondering

Re: [Haskell-cafe] Syntax programming with lexemes rather than trees?

2010-03-24 Thread Stephen Tetley
Hi Henning Thanks - yes, there is a report by Matt Munz, a student of Paul Hudak's. Last year I tried to get my library to work with Haskore, but Haskore has numerical durations - for scores you need symbolic ones, and its a lot of work deriving symbolic durations from numeric ones. There are

[Haskell-cafe] double existential type

2010-03-24 Thread Ozgur Akgun
Hello all, I have a syntax issue (hopefully!) -- this is perfectly fine: data Unary = forall a. Unary a -- this one as well: data Binary = forall a. Binary a a -- but not this one -- parse error on input forall :( data Binary' = forall a. forall b. Binary' a b I tried different kinds of

Re: [Haskell-cafe] double existential type

2010-03-24 Thread Stephen Tetley
Hi Ozgur - try data Binary' = forall a b. Binary' a b ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] derivable type classes

2010-03-24 Thread Ozgur Akgun
Thanks for the pointers again - you are of great help every time! On 23 March 2010 17:44, Josef Svenningsson josef.svennings...@gmail.comwrote: On Tue, Mar 23, 2010 at 11:52 AM, Ozgur Akgun ozgurak...@gmail.com wrote: Can a user define a derivable type class of her own? If yes, how? GHC

Re: [Haskell-cafe] double existential type

2010-03-24 Thread Ozgur Akgun
Thank you very much - and for the quick response as well! I tried putting a comma in between them, but no luck. What was I thinking? :) On 24 March 2010 17:25, Stephen Tetley stephen.tet...@gmail.com wrote: Hi Ozgur - try data Binary' = forall a b. Binary' a b -- Ozgur Akgun

Re: [Haskell-cafe] Re: really difficult for a beginner like me...

2010-03-24 Thread Daniel Fischer
-Ursprüngliche Nachricht- Von: saaj [ Gesendet: 24.03.2010 15:17:19 An: haskell-cafe@haskell.org Betreff: [Haskell-cafe] Re: really difficult for a beginner like me... Thank you. I will try it What about the second part, capitalisation thing? can you help me with that as well? Treat a

Re: [Haskell-cafe] Bytestrings and [Char]

2010-03-24 Thread Bryan O'Sullivan
On Wed, Mar 24, 2010 at 5:48 AM, Stephen Tetley stephen.tet...@gmail.comwrote: I rather doubt a valuable set of type classes that is suitable for all containers exists, I'm afraid. I don't think it's so clear cut. Stepanov's Elements of Programming lays out a pretty clear (and familiar to

Re: [Haskell-cafe] how to make it faster ?

2010-03-24 Thread Richard O'Keefe
On Mar 24, 2010, at 6:01 PM, 国平张 wrote: Hi, I wrote a type program to compute fibonacci series, It certainly is possible to compute Fibonacci numbers as a type program, but what you wrote is not a type program, just plain old Haskell. if the max value is big, then it becomes very slow.

Re: [Haskell-cafe] Graphical representation of Haskell code

2010-03-24 Thread Mihai Maruseac
Here[0] is a second attempt at drawing the images for the functions. I've done only the first two versions of map, will do the others until the end of the week. [0]: http://pgraycode.wordpress.com/2010/03/24/visual-haskell-debugger-part-2/ -- Mihai Maruseac On Tue, Mar 23, 2010 at 4:28 PM,

Re: [Haskell-cafe] Takusen sqlite3 insert is very slow

2010-03-24 Thread Vasyl Pasternak
Hi Jason, Your recommendations worked for me. When I enclosed updating into single transaction, the code executed in less than 0.5 seconds, which is as fast as HDBC version. I didn't go deeper, hoping, that everything will be OK from now. Thank you, Vasyl 2010/3/20 Jason Dagit

Re: [Haskell-cafe] State of the Haskell Web Application Stack

2010-03-24 Thread Michael Snoyman
Hi Ozgun, At the moment, I would say that Happstack is your best bet on a mature option for Haskell web development. There are other systems being developed, but none have been battle-tested as much as Happstack (as far as I know). I know that patch-tag[1] was written with it, for example. That

Fwd: [Haskell-cafe] Bytestrings and [Char]

2010-03-24 Thread Alberto G. Corona
-- Forwarded message -- From: Alberto G. Corona agocor...@gmail.com Date: 2010/3/24 Subject: Re: [Haskell-cafe] Bytestrings and [Char] To: Stephen Tetley stephen.tet...@gmail.com 2010/3/24 Stephen Tetley stephen.tet...@gmail.com Hi Alberto I rather doubt a valuable set of

Fwd: [Haskell-cafe] Bytestrings and [Char]

2010-03-24 Thread Alberto G. Corona
2010/3/24 Stephen Tetley stephen.tet...@gmail.com If you consider containers as the containers package, the data structures are all (?) functorial - but they have different shapes, so e.g. a cons operation makes sense on the linear ones (Data.Sequence, Data.List) but not on Data.Map,

Re: [Haskell-cafe] State of the Haskell Web Application Stack

2010-03-24 Thread Alp Mestanogullari
gitit [1] is happstack based and is very impressive -- you may want to read its code to see how you can build web applications using happstack (not *on*, for gitit). [1] http://gitit.net/ On Tue, Mar 23, 2010 at 7:05 PM, Ozgun Ataman ozata...@gmail.com wrote: Greetings all. I have been for

Re: [Haskell-cafe] Graphical representation of Haskell code

2010-03-24 Thread Dupont Corentin
Hello, Very interresting. Visual Haskell seems to be very close to the thing i imagined. Mihai what do you think? Unfortunatly i cannot find it on the web! There is something for MS Visual Studio but i don't think this is the same... Corentin On Thu, Mar 25, 2010 at 12:07 AM, Miguel Vilaca

[Haskell-cafe] Re: Using Get monad to efficiently parse byte-stuffeddata

2010-03-24 Thread Tim Attwood
Going through the data using getWord8 is a no-go. It is just too slow. My solution so far has been to get the underlying bytestring and work with that, but obviously defeats the purpose of using the Get monad. What might be a better solution? hGetArray with IOUArrays goes perty fast.

Re: [Haskell-cafe] ANN: Salvia-1.0.0

2010-03-24 Thread Bernie Pope
On 22 March 2010 11:05, Carter Schonwald carter.schonw...@gmail.com wrote: apparently sometimes even though cabal can figure out the dependencies for a package you want, it gets confused (or something) when it needs to figure out the transitive dependencies (that which needs to be installed for

Re: [Haskell-cafe] Graphical representation of Haskell code

2010-03-24 Thread Ronald Guida
Those are some very interesting visual languages, Miguel! I remember drawing some diagrams when I was teaching myself Haskell, but I never actually tried to create a formal visual language. Since my background is in hardware engineering, I would naturally gravitate toward schematic diagrams. I

Re: [Haskell-cafe] Graphical representation of Haskell code

2010-03-24 Thread Richard O'Keefe
On Mar 25, 2010, at 2:33 PM, Ronald Guida wrote: ... a version of map as text ... ... a diagram ... The thing that strikes me forcibly is that the diagram is much bigger than the text. Not only that, but if I am reading it correctly, the text has three lines, a type specification and two

Re: [Haskell-cafe] Graphical representation of Haskell code

2010-03-24 Thread Ronald Guida
On Wed, Mar 24, 2010 at 9:47 PM, Richard O'Keefe o...@cs.otago.ac.nz wrote: On Mar 25, 2010, at 2:33 PM, Ronald Guida wrote: ... a version of map as text ... ... a diagram ... The thing that strikes me forcibly is that the diagram is much bigger than the text. Not only that, but if I am

[Haskell-cafe] Re: Graphical representation of Haskell code

2010-03-24 Thread Maciej Piechotka
On Wed, 2010-03-24 at 21:33 -0400, Ronald Guida wrote: Those are some very interesting visual languages, Miguel! I remember drawing some diagrams when I was teaching myself Haskell, but I never actually tried to create a formal visual language. Since my background is in hardware

Re: [Haskell-cafe] ANN: Salvia-1.0.0

2010-03-24 Thread Ivan Miljenovic
On 25 March 2010 12:21, Bernie Pope florbit...@gmail.com wrote: Yes, I tried that, but unfortunately it falls over with: Language/Haskell/TH/Quote.hs:31:12:    Not in scope: data constructor `CharConstr' cabal: Error: some packages failed to install: template-haskell-2.4.0.0 failed during

Re: [Haskell-cafe] Using Get monad to efficiently parse byte-stuffed data

2010-03-24 Thread Pom
On 10-03-24 12:44 PM, Paul Johnson wrote: On 24/03/10 04:36, Pom Monico wrote: Hello all, I'm struggling to use the Get monad to efficiently parse the some binary data of the format below. I simply can't find a way to use the monad to parse it efficiently. Binary data is terminated by a 0xFF

Re: [Haskell-cafe] ANN: Salvia-1.0.0

2010-03-24 Thread Bernie Pope
On 25 March 2010 14:23, Ivan Miljenovic ivan.miljeno...@gmail.com wrote: On 25 March 2010 12:21, Bernie Pope florbit...@gmail.com wrote: Yes, I tried that, but unfortunately it falls over with: Language/Haskell/TH/Quote.hs:31:12:    Not in scope: data constructor `CharConstr' cabal: Error:

Re: [Haskell-cafe] Re: Graphical representation of Haskell code

2010-03-24 Thread Mihai Maruseac
Hmm, I may take hints from this conversation to improve the debugger. My program will draw only the diagrams needed for debugging, it is not about the programmer needing to draw boxes and wires but about him understanding his own code :) On Thu, Mar 25, 2010 at 4:37 AM, Maciej Piechotka