Re: What is a punctuation character?

2012-03-19 Thread Colin Paul Adams
Iavor report? My understanding is that the intention is that the Iavor alphabet is unicode codepoints (sometimes referred to as Iavor unicode characters). Unicode characters are not the same as Unicode codepoints. What we want is Unicode characters. We don't want to be able to

Re: [Colin Paul Adams] Re: Proposal: Define UTF-8 to be the encoding of Haskell source files

2011-04-07 Thread Colin Paul Adams
Roel == Roel van Dijk vandijk.r...@gmail.com writes: Roel On 6 April 2011 20:42, Colin Paul Adams co...@colina.demon.co.uk wrote: Roel It seems you have a problem with the word allowed. What do Roel you think of the interoperability guidelines as proposed by Roel Duncan

[Colin Paul Adams] Re: Proposal: Define UTF-8 to be the encoding of Haskell source files

2011-04-06 Thread Colin Paul Adams
I forgot to CC the list: Roel == Roel van Dijk vandijk.r...@gmail.com writes: Roel I propose to make UTF-8 the only allowed encoding for Haskell Roel source files. Implementations must discard an initial Byte Roel Order Mark (BOM) if present [3]. Roel * Pros - Ensures that

Re: [Colin Paul Adams] Re: Proposal: Define UTF-8 to be the encoding of Haskell source files

2011-04-06 Thread Colin Paul Adams
Bas == Bas van Dijk v.dijk@gmail.com writes: Bas On 6 April 2011 17:34, Colin Paul Adams co...@colina.demon.co.uk wrote: Allowed? Allowed for what? Bas Allowed to be called a Haskell file. Well, what the report says on that is irrelevant. If I see a file containing Haskell

Re: [Haskell-cafe] Proof in Haskell

2010-12-21 Thread Colin Paul Adams
Daniel == Daniel Fischer daniel.is.fisc...@googlemail.com writes: Daniel On Tuesday 21 December 2010 19:34:11, Felipe Almeida Lessa wrote: Theorem mirror_mirror : forall A (x : Tree A), mirror (mirror x) = x. induction x; simpl; auto. rewrite IHx1; rewrite IHx2; trivial.

Re: [Haskell-cafe] Haskell is a scripting language inspired by Python.

2010-11-05 Thread Colin Paul Adams
David == David Fox dds...@gmail.com writes: David On Thu, Nov 4, 2010 at 2:41 PM, Albert Y. C. Lai tre...@vex.net wrote: On 10-11-03 10:00 PM, Jonathan Geddes wrote: It's called The *Ultimate* Computer Language Guide, and it's on the internets, so it must be correct, right?

Re: [Haskell] Haskell Weekly News: Issue 155 - October 20, 2010 (Originally posted to Haskell-Cafe)

2010-10-22 Thread Colin Paul Adams
Simon == Simon Peyton-Jones simo...@microsoft.com writes: Simon Personally I welcome the Haskell Weekly News, and would love Simon it to be posted to the Haskell list regularly. It's not Simon spam. The bandwidth of Haskell-Cafe is too high for me, and Simon HWN serves as a

Re: [Haskell-cafe] A rant against the blurb on the Haskell front page

2010-10-16 Thread Colin Paul Adams
Don == Don Stewart d...@galois.com writes: Let me explain. Haskell is an advanced purely functional programming language. Good start, if only the advanced were replaced with something more characteristic, like lazy, or statically typed. Which, BTW, both do

Re: [Haskell-cafe] Lambda-case / lambda-if

2010-10-02 Thread Colin Paul Adams
Max == Max Bolingbroke batterseapo...@hotmail.com writes: Prelude (if then Haskell else Cafe) False Max Cafe My reaction is to ask: Can you write this as: (if then else) False Haskell Cafe ? -- Colin Adams Preston Lancashire () ascii ribbon campaign - against html e-mail /\

Re: [Haskell-cafe] ANNOUNCE: AbortT-transformers version 1.0

2010-09-08 Thread Colin Paul Adams
Henning == Henning Thielemann lemm...@henning-thielemann.de writes: Henning On Wed, 8 Sep 2010, Gregory Crosswhite wrote: ExceptionT is a different matter because it handles fail as an uncaught error and places no restrictions on the error type, so one could implement the same

Re: [Haskell-cafe] Re: String vs ByteString

2010-08-17 Thread Colin Paul Adams
Ketil == Ketil Malde ke...@malde.org writes: Ketil Johan Tibell johan.tib...@gmail.com writes: It's not clear to me that using UTF-16 internally does make Data.Text noticeably slower. Ketil I think that *IF* we are aiming for a single, grand, unified Ketil text library to

Re: [Haskell-cafe] Re: String vs ByteString

2010-08-17 Thread Colin Paul Adams
Ivan == Ivan Lazar Miljenovic ivan.miljeno...@gmail.com writes: Char is not an encoding, right? Ivan No, but in GHC at least it corresponds to a Unicode codepoint. I don't think this is right, or shouldn't be right, anyway.. Surely it stands for a character. Unicode codepoints include

Re: [Haskell-cafe] Re: String vs ByteString

2010-08-17 Thread Colin Paul Adams
Johan == Johan Tibell johan.tib...@gmail.com writes: Johan On Tue, Aug 17, 2010 at 1:36 PM, Tako Schotanus t...@codejive.org wrote: Johan Yeah, I tried looking it up but I could find the Johan technical definition for Char, but in the end I found that Johan maxBound was

Re: [Haskell-cafe] Re: String vs ByteString

2010-08-15 Thread Colin Paul Adams
Bryan == Bryan O'Sullivan b...@serpentine.com writes: Bryan On Sat, Aug 14, 2010 at 10:46 PM, Michael Snoyman mich...@snoyman.com wrote: Bryan When I'm writing a web app, my code is sitting on a Linux Bryan system where the default encoding is UTF-8, communicating Bryan with

Re: [Haskell-cafe] Suggestions For An Intro To Monads Talk.

2010-08-03 Thread Colin Paul Adams
Alexander == Alexander Solla a...@2piix.com writes: Alexander On Aug 3, 2010, at 2:51 PM, aditya siram wrote: I am looking for suggestions on how to introduce the concept and its implications. I'd also like to include a section on why monads exist and why we don't really see them

Re: [Haskell-cafe] Re: Can we come out of a monad?

2010-07-30 Thread Colin Paul Adams
Kevin == Kevin Jardine kevinjard...@gmail.com writes: Kevin The more I learn about monads, however, the less I understand Kevin them. I've seen plenty of comments suggesting that monads Kevin are easy to understand, but for me they are not. I used to have the same problem. Then I

Re: [Haskell-cafe] DTP10 Call for Participation

2010-05-06 Thread Colin Paul Adams
Conor == Conor McBride co...@strictlypositive.org writes: Conor Remember, Haskell is the world's most popular dependently Conor typed functional programming language... Could you justify that claim please? -- Colin Adams Preston Lancashire () ascii ribbon campaign - against html

Re: [Haskell-cafe] Haskell and the Software design process

2010-05-04 Thread Colin Paul Adams
aditya == aditya siram aditya.si...@gmail.com writes: aditya This is awesome! GHC-devs , please mainline the CONTRACT aditya pragma. I think it needs a LOT more work before it is usable. (I hope I'm wrong, but Dana reckoned it needed about 7 more man-years of work.) Dana sent me a

Re: [Haskell-cafe] Re: Hackage accounts and real names

2010-04-06 Thread Colin Paul Adams
Pekka == Pekka Enberg penb...@cs.helsinki.fi writes: Pekka On Tue, Apr 6, 2010 at 7:32 AM, Ivan Miljenovic Pekka ivan.miljeno...@gmail.com wrote: 5) No-one is convincing anyone else to their point of view, so we have a stale mate. Pekka Can you really legally distribute

Re: [Haskell-cafe] chp-plus doesn't install

2010-03-28 Thread Colin Paul Adams
Neil == Neil Brown nc...@kent.ac.uk writes: Neil That did indeed turn out to be the fix. That will teach me to Neil release a package without remembering to test it on GHC 6.10 Neil first. I've uploaded chp-plus 1.2.0 to Hackage, which should Neil fix this issue (among other

[Haskell-cafe] Internet game servers in Haskell?

2010-03-27 Thread Colin Paul Adams
Has anyone ever written a server in Haskell for managing live game-playing (any game) across the internet? -- Colin Adams Preston Lancashire ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] chp-plus doesn't install

2010-03-27 Thread Colin Paul Adams
I'm getting these errors (ghc 6.10.4 on Linux x86_64): Building chp-plus-1.1.0... [1 of 9] Compiling Control.Concurrent.CHP.Test ( Control/Concurrent/CHP/Test.hs, dist/build/Control/Concurrent/CHP/Test.o ) [2 of 9] Compiling Control.Concurrent.CHP.Console ( Control/Concurrent/CHP/Console.hs,

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 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 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-cafe] Haskell and XML, need some tips from practioners

2010-02-25 Thread Colin Paul Adams
Günther == Günther Schmidt gue.schm...@web.de writes: Günther But now I need to amend the attributes of some elements Günther with looked up values from the outside, the lookup-key is a Günther particular attribute value of the nodes. This I cannot do Günther through xslt

Re: [Haskell-cafe] Re: Haskell and XML, need some tips from practioners

2010-02-25 Thread Colin Paul Adams
Günther == Günther Schmidt gue.schm...@web.de writes: Günther Dear Alistair, after working intensely with XSLT again Günther (with a break for several years), I wholeheartedly concur. Günther You guys are right though, through the document function it Günther would be possible.

Re: [Haskell-cafe] Re: haskelldb in-memory driver?

2010-02-09 Thread Colin Paul Adams
Günther == Günther Schmidt gue.schm...@web.de writes: Günther Hello Johannes, no, sorry, HaskellDB is only meant for RDBM Günther back ends, it eventually generates SQL (Strings). I recall that there WAS an experimental in-memory backend. -- Colin Adams Preston Lancashire

Re: [Haskell-cafe] Re: programmatic DB interface?

2010-02-05 Thread Colin Paul Adams
Johannes == Johannes Waldmann waldm...@imn.htwk-leipzig.de writes: Johannes Michael Snoyman michael at snoyman.com writes: Did you append an empty string in the SELECT statement? Johannes Magnus says 1. is wrong, but I don't see how the DB server Johannes could be convinced to

Re: [Haskell-cafe] Re: programmatic DB interface?

2010-02-05 Thread Colin Paul Adams
Johannes == Johannes Waldmann waldm...@imn.htwk-leipzig.de writes: That is exactly the problem - it is wrong for CalendarT. Johannes what do you mean by it ... what package should be fixed Johannes (old-locale, haskelldb-hdbc-postgreqsl, ...)? Because Johannes obviously

Re: [Haskell-cafe] Stack ADT?

2010-02-05 Thread Colin Paul Adams
Casey == Casey Hawthorne cas...@istar.ca writes: Casey You could also implement stacks with mutable data structures, Casey e.g. STArray, etc. Casey What do you want to use a stack ADT for? BTW, There is a Myers stack in Edison. Disclaimer - I don't know what a Myers stack is. --

Re: [Haskell-cafe] Re: programmatic DB interface?

2010-02-04 Thread Colin Paul Adams
Johannes == Johannes Waldmann waldm...@imn.htwk-leipzig.de writes: Johannes anyone know what's happening here? I get this when Johannes executing a query via haskelldb-hdbc-postgresql-0.12 (The Johannes date is actually in the DB, so it's not a connection Johannes problem.)

Re: [Haskell-cafe] HTML - based GUIs - follow up

2010-01-20 Thread Colin Paul Adams
Günther == Günther Schmidt gue.schm...@web.de writes: Günther My question is: do formlets only work server based or is it Günther also possible to use formlet sans happs? Yes (I think) and yes. -- Colin Adams Preston Lancashire ___

Re: [Haskell-cafe] Language simplicity

2010-01-14 Thread Colin Paul Adams
Roel == Roel van Dijk vandijk.r...@gmail.com writes: Roel I think it is time for an Obfuscated Haskell Contest :-) Are you allowed to use obsolete scripts for your identifiers? :-) -- Colin Adams Preston Lancashire ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Language simplicity

2010-01-13 Thread Colin Paul Adams
Tom == Tom Tobin korp...@korpios.com writes: Tom readability. The ASCII characters are universal and easily Tom recognized No they are not. My wife is Chinese. When she was learning pinyin as a child, she asked her father for help with some homework. He replied that he didn't

Re: [Haskell-cafe] Language simplicity

2010-01-12 Thread Colin Paul Adams
Andrew == Andrew Coppin andrewcop...@btinternet.com writes: Andrew It's weird that us Haskell people complain about there Andrew being only 26 letters in the alphabet Which alphabet? You have plenty of choice in Unicode. -- Colin Adams Preston Lancashire

Re: [Haskell-cafe] Re: Allowing hyphens in identifiers

2009-12-16 Thread Colin Paul Adams
Ketil == Ketil Malde ke...@malde.org writes: [1] and quite a high proportion of other natural languages. Ketil Which makes me wonder - might there be a (natural) language Ketil bias as well? Sure. Different languages have different orthographical traditions. IMHO a project

Re: [Haskell-cafe] Re: Allowing hyphens in identifiers

2009-12-16 Thread Colin Paul Adams
Daniel == Daniel Fischer daniel.is.fisc...@web.de writes: Daniel As a pre-alpha version: Daniel Daniel module Main (main) where Daniel import Data.Char (isUpper, isLower, toLower) Daniel main :: IO () main =

Re: [Haskell-cafe] Re: Allowing hyphens in identifiers

2009-12-16 Thread Colin Paul Adams
Daniel == Daniel Fischer daniel.is.fisc...@web.de writes: Daniel Database.Haskell_DB.Sql.Postgre_SQL Actually, I would be semi-happy with Database.Haskell-DB.Sql.Postgre-SQL (obviously we need an option whether to use hypens or underscores. I prefer hyphens.) Daniel Data.Bits.shiftL

Re: Porting to DragonFly BSD

2009-12-15 Thread Colin Paul Adams
Goetz == Goetz Isenmann i...@goetz-isenmann.de writes: Goetz My current strategie is, to avoid the problem in a first Goetz step. Goetz With the attached errno_ptr.{h,c} I create a shared Goetz library, that encapsulates the errno access, install the Goetz header file as

Re: Porting to DragonFly BSD

2009-12-15 Thread Colin Paul Adams
Karel == Karel Gardas karel.gar...@centrum.cz writes: Karel Seeing DragonFly BSD and `make' together with your make Karel error messages rings an alarm here with a suggestion to use Karel GNU make. That's a good alarm you have :-) gmake works much better. Thanks. -- Colin Adams

Re: Porting to DragonFly BSD

2009-12-15 Thread Colin Paul Adams
Goetz == Goetz Isenmann i...@goetz-isenmann.de writes: Goetz With the attached errno_ptr.{h,c} I create a shared Goetz library, that encapsulates the errno access, install the Goetz header file as /usr/pkg/include/errno_ptr.h and the shared Goetz lib as

Re: [Haskell-cafe] Re: Re: Allowing hyphens in identifiers

2009-12-15 Thread Colin Paul Adams
Richard == Richard O'Keefe o...@cs.otago.ac.nz writes: Richard The real point is that the revised version, with command Richard line arguments and all, is still just 52 SLOC. (41 if Richard you don't count type specifications the compiler could Richard have inferred or the two

Re: [Haskell-cafe] Re: Allowing hyphens in identifiers

2009-12-15 Thread Colin Paul Adams
Daniel == Daniel Fischer daniel.is.fisc...@web.de writes: Daniel Now, would you be interested in a transformation the other Daniel way round, so that you can read other people's code in Daniel your preferred style? I would, applied to the output of haddock, at least. -- Colin

Re: [Haskell-cafe] Re: Allowing hyphens in identifiers

2009-12-11 Thread Colin Paul Adams
Malcolm == Malcolm Wallace malcolm.wall...@cs.york.ac.uk writes: there is enough experimentally determined about reading in general to be certain that visible gaps between words materially improves readability, and internal capital letters harm it. Malcolm Here is a

[Haskell-cafe] Logistic regression

2009-11-16 Thread Colin Paul Adams
Is there any free code anywhere for performing logistic regression? I can't see anything on hackage. -- Colin Adams Preston Lancashire ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Porting to DragonFly BSD

2009-11-15 Thread Colin Paul Adams
Goetz == Goetz Isenmann i...@goetz-isenmann.de writes: Goetz @Colin: Maybe you can test and use this hack. I won't have any time for the next three weeks (work then holiday). -- Colin Adams Preston Lancashire ___ Glasgow-haskell-users mailing

[Haskell-cafe] Trouble installing HDBC 2.1.1 with ghc 6.10.4

2009-11-15 Thread Colin Paul Adams
I'm seeing messages such as: Database/HDBC/SqlValue.hs:610:32: No instance for (Typeable Day) Is this connected with the in-and-out status of the time library in the GHC 6.10.x series? Is there a work-around? -- Colin Adams Preston Lancashire

Re: Porting to DragonFly BSD

2009-11-14 Thread Colin Paul Adams
Goetz == Goetz Isenmann i...@goetz-isenmann.de writes: Goetz Until now I had no time and energie to dig deeper into the Goetz problem [1], that looks to me, like rts/Linker cannot load Goetz any object file that references errno. Goetz My guess is, that for dragonflys extern

Re: [Haskell-cafe] Pattern Matching

2009-11-13 Thread Colin Paul Adams
Andrew == Andrew Coppin andrewcop...@btinternet.com writes: Andrew Casey Hawthorne wrote: Why in a pattern match like score (1 3) = 7 can I not have sizeMax = 3 score (1 sizeMax) = 7 If I had a dollar for every time I've written

Re: [Haskell-cafe] ANN: hesql

2009-11-12 Thread Colin Paul Adams
Christoph == Christoph Bauer i...@christoph-bauer.net writes: Christoph Hello, sure, your program could use a database with Christoph HDBC. But I'll guess (since you love static typing so Christoph much) you dislike formulating queries in strings and to Christoph check the

Re: Porting to DragonFly BSD

2009-11-08 Thread Colin Paul Adams
Goetz == Goetz Isenmann i...@goetz-isenmann.de writes: Goetz Maybe you could start with something like: Goetz $ curl -o ghc-6.10.4-3.tar.bz2 \ ; Goetz http://www.goetz-isenmann.de/dfly/ghc-6.10.4-3.tar.bz2 $ Goetz curl -o cabal http://www.goetz-isenmann.de/dfly/cabal $ tar

Re: [Haskell-cafe] Haskell image libraries

2009-11-08 Thread Colin Paul Adams
Max == Max Rabkin max.rab...@gmail.com writes: Max Haskellers, To add image support to fdo-notify, I need an Max image type. Looking through Hackage, I didn't find any image Max library with the following features: * Load from a variety of Max formats (at least PNG and JPG, I'd

Re: [Haskell-cafe] Haskell image libraries

2009-11-08 Thread Colin Paul Adams
Jeremy == Jeremy Shaw jer...@n-heptane.com writes: Jeremy There is a partial binding to libgd: Jeremy http://hackage.haskell.org/packages/archive/gd/3000.4.0/doc/html/Graphics-GD.html Jeremy http://www.libgd.org/Main_Page Jeremy But GD itself may not do what you want. I ended

Re: [Haskell-cafe] How to fulfill the code-reuse destiny of OOP?

2009-10-30 Thread Colin Paul Adams
Magnus == Magnus Therning mag...@therning.org writes: Magnus It seems I was wrong in my assumption about data Magnus inheritance, implementation inheritance is just as Magnus evil. Both are fine. -- Colin Adams Preston Lancashire ___

Re: [Haskell-cafe] A 3 line program -- Reid, Don, Daniel

2009-10-27 Thread Colin Paul Adams
Brandon == Brandon S Allbery KF8NH allb...@ece.cmu.edu writes: Brandon That would be the Haskell98 Report: Haskell uses the Brandon Unicode [11] character set. However, source programs are Brandon currently biased toward the ASCII character set used in Brandon earlier versions of

Re: [Haskell-cafe] ANN: haskell-mode 2.5

2009-10-27 Thread Colin Paul Adams
Svein == Svein Ove Aas svein@aas.no writes: Svein Known bugs: * Occasionally, the haskell-indentation parser Svein will get stuck   on what it considers to be invalid haskell Quite often. Svein code, and refuse to accept your commands; this includes, Svein mainly,

Re: [Haskell-cafe] Re: Libraries for Commercial Users

2009-10-25 Thread Colin Paul Adams
Magnus == Magnus Therning mag...@therning.org writes: Magnus Again, in my own experience the amount of work to find a Magnus good developer is about the same, and sometimes stacked in Magnus favour of using an obscure language. I would be inclined to agree with you. Coming from the

Re: [Haskell-cafe] why cannot i get the value of a IORef variable ?

2009-10-22 Thread Colin Paul Adams
Gregory == Gregory Crosswhite gcr...@phys.washington.edu writes: Gregory Yes, I was once taught that Every time you use Gregory unsafePerformIO, God kills a kitten, so every time I Gregory consider using it I first ask myself: is this really Gregory worth an innocent kitten's

Re: [Haskell-cafe] why cannot i get the value of a IORef variable ?

2009-10-21 Thread Colin Paul Adams
zaxis thank you! In fact i really donot understand zaxis unsafePerformIO very much ! Then all you have to understand is - never use it! -- Colin Adams Preston Lancashire ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] What *is* a DSL?

2009-10-09 Thread Colin Paul Adams
Gregg == Gregg Reynolds d...@mobileink.com writes: Gregg On Thu, Oct 8, 2009 at 6:08 AM, Colin Paul Adams Gregg co...@colina.demon.co.ukwrote: George == George Pollard por...@porg.es writes: George I'd also like to note that the canonical pronunciation of George DSL ends

Ghci fails to load modules, but ghc compiles OK

2009-10-08 Thread Colin Paul Adams
I've been using ghc 6.10.3 on 64-bit Linux to compile my application, and it runs OK, modulo bugs. I want to debug a problem, so I load it in ghci, but when i type main I get: Loading package network-2.2.1.1 ... GHCi runtime linker: fatal error: I found a duplicate definition for symbol

Re: [Haskell-cafe] What *is* a DSL?

2009-10-08 Thread Colin Paul Adams
George == George Pollard por...@porg.es writes: George I'd also like to note that the canonical pronunciation of George DSL ends in -izzle. Whose canon? Interestingly, I have always assumed the canonical pronunciation of DSSSL was diesel, as JADE stands for JAmes's DSSSL Engine. I

Re: [Haskell-cafe] dsl and gui toolkit

2009-10-06 Thread Colin Paul Adams
John == John A De Goes j...@n-brain.net writes: John This is the right approach to a GUI toolkit. John Note that personally, I believe the details of the John presentation should be separate from Haskell, stored in a John separate file that is machine- friendly, so designers can

[Haskell-cafe] Where do these warnings come from?

2009-10-04 Thread Colin Paul Adams
Does anyone recognize which module/function would emit the following warnings? WARNING: nonstandard use of escape in a string literal LINE 11: '# Pandoc\r\n\r\nPandoc is a program for converting ... ^ HINT: Use the escape string syntax for escapes, e.g., E'\r\n'. --

Re: [Haskell-cafe] Where do these warnings come from?

2009-10-04 Thread Colin Paul Adams
Anton == Anton van Straaten an...@appsolutions.com writes: Anton Colin Paul Adams wrote: Does anyone recognize which module/function would emit the following warnings? WARNING: nonstandard use of escape in a string literal LINE 11: '# Pandoc\r\n\r\nPandoc

[Haskell] Re: [Haskell-cafe] ANNOUNCE: SourceGraph-0.5.0.0

2009-09-29 Thread Colin Paul Adams
Ivan == Ivan Lazar Miljenovic ivan.miljeno...@gmail.com writes: Ivan I'd appreciate it if people could give SourceGraph a whirl Fails to install (Linux x86_64): Data/Graph/Analysis/Utils.hs:207:43: Ambiguous occurrence `dotizeGraph' It could refer to either

[Haskell] Re: [Haskell-cafe] ANNOUNCE: SourceGraph-0.5.0.0

2009-09-29 Thread Colin Paul Adams
Ivan == Ivan Lazar Miljenovic ivan.miljeno...@gmail.com writes: Ivan Colin Paul Adams co...@colina.demon.co.uk writes: Compare Ivan the version in the subject to the version you're trying to Ivan install... You are right. i forgot to do a cabal update first. -- Colin Adams Preston

Re: [Haskell-cafe] Comments requested: succ Java

2009-09-29 Thread Colin Paul Adams
Michael == Michael Snoyman mich...@snoyman.com writes: Michael not be written in pure Haskell, but then again I'm not Michael sure if there are any fully W3 compliant browsers *not* Michael written in C++. I'm not sure if there are any fully W3 compliant browsers. How could there

Re: [Haskell-cafe] ANNOUNCE: SourceGraph-0.5.0.0

2009-09-29 Thread Colin Paul Adams
Ivan == Ivan Lazar Miljenovic ivan.miljeno...@gmail.com writes: Ivan I'd appreciate it if people could give SourceGraph a whirl Fails to install (Linux x86_64): Data/Graph/Analysis/Utils.hs:207:43: Ambiguous occurrence `dotizeGraph' It could refer to either

Re: [Haskell-cafe] ANNOUNCE: SourceGraph-0.5.0.0

2009-09-29 Thread Colin Paul Adams
Ivan == Ivan Lazar Miljenovic ivan.miljeno...@gmail.com writes: Ivan Colin Paul Adams co...@colina.demon.co.uk writes: Compare Ivan the version in the subject to the version you're trying to Ivan install... You are right. i forgot to do a cabal update first. -- Colin Adams Preston

[Haskell-cafe] Processing EXIF data with Haskell

2009-09-27 Thread Colin Paul Adams
I'm writing web software for a photograph gallery. I want to be able to display selective fields from the EXIF data. I thought I would be able to use the GD and exif libraries from Hackage to do this. However: Calling Graphics.GD.loadJpegByteString followed by Graphics.GD.saveJpegFile does not

Re: [Haskell-cafe] Processing EXIF data with Haskell

2009-09-27 Thread Colin Paul Adams
Don == Don Stewart d...@galois.com writes: Don colin: I'm writing web software for a photograph gallery. I want to be able to display selective fields from the EXIF data. I thought I would be able to use the GD and exif libraries from Hackage to do this. However:

Re: [Haskell-cafe] haskelldb + sqlite problem.

2009-09-05 Thread Colin Paul Adams
Colin == Colin Paul Adams co...@colina.demon.co.uk writes: Magicloud == Magicloud Magiclouds magicloud.magiclo...@gmail.com writes: Magicloud Hi, I am using haskelldb and Magicloud haskelldb-hdbc-sqlite3. Well, I finally got the source Magicloud compiled and ran, I got this error

Re: [Haskell-cafe] haskelldb + sqlite problem.

2009-09-04 Thread Colin Paul Adams
Magicloud == Magicloud Magiclouds magicloud.magiclo...@gmail.com writes: Magicloud Hi, I am using haskelldb and Magicloud haskelldb-hdbc-sqlite3. Well, I finally got the source Magicloud compiled and ran, I got this error: App: user error Magicloud (SQL error: SqlError {seState

Re: [Haskell-cafe] happstack-helpers fails to install on Mac OSX

2009-08-31 Thread Colin Paul Adams
Colin == Colin Paul Adams co...@colina.demon.co.uk writes: Colin I've just installed the Haskell Platform (2009.2.0.2) on Colin Mac OSX 10.5.6, including GHC 6.10.4. Colin Then I started added some packahges with cabal install. Colin But happstack-helpers-0.30 fails

Re: [Haskell-cafe] happstack-helpers fails to install on Mac OSX

2009-08-31 Thread Colin Paul Adams
Colin == Colin Paul Adams co...@colina.demon.co.uk writes: Colin == Colin Paul Adams co...@colina.demon.co.uk writes: Colin I've just installed the Haskell Platform (2009.2.0.2) on Colin Mac OSX 10.5.6, including GHC 6.10.4. Colin Then I started added some packahges with cabal

Re: [Haskell-cafe] Problem with monadic formlets

2009-08-30 Thread Colin Paul Adams
Chris Hey everybody, I've just uploaded formlets 0.6.1 to Chris Hackage, which should fix this bug. Thanks for letting me Chris know! Yes, it does fix it. Thanks. -- Colin Adams Preston Lancashire ___ Haskell-Cafe mailing list

[Haskell-cafe] happstack-helpers fails to install on Mac OSX

2009-08-30 Thread Colin Paul Adams
I've just installed the Haskell Platform (2009.2.0.2) on Mac OSX 10.5.6, including GHC 6.10.4. Then I started added some packahges with cabal install. But happstack-helpers-0.30 fails with: Happstack/Helpers/DirBrowse.hs:88:105 Couldn't match expected type `String' against inferred type

Re: [Haskell-cafe] Problem with monadic formlets

2009-08-28 Thread Colin Paul Adams
Jeremy == Jeremy Shaw jer...@n-heptane.com writes: Jeremy Hello, I hacked your code into a runnable example, and it Jeremy seems to work for me. Jeremy Which looks correct to me. Your code looks fine to me as Jeremy well... Perhaps the error is not in the code you pasted,

[Haskell-cafe] Uninstall a cabal package?

2009-08-28 Thread Colin Paul Adams
What is the procedure to uninstall a cabal package? -- Colin Adams Preston Lancashire ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Uninstall a cabal package?

2009-08-28 Thread Colin Paul Adams
Peter == Peter Robinson thaldy...@gmail.com writes: Peter As far as I know the current stable release of Cabal Peter doesn't keep track of installed packages, so you can only # Peter ghc-pkg unregister pkg-id and then manually delete the Peter files. Thanks. That works. --

Re: [Haskell-cafe] Problem with monadic formlets

2009-08-28 Thread Colin Paul Adams
Colin == Colin Paul Adams co...@colina.demon.co.uk writes: Jeremy == Jeremy Shaw jer...@n-heptane.com writes: Colin apparent data corruprion is occurring. I am suspecting a Colin bug in the formlets library (I have version 0.6). Colin So I have created a slightly cut-down

[Haskell-cafe] Qualified operators

2009-08-27 Thread Colin Paul Adams
What's the syntax for using a qualified operator (I have a clash of !)? -- Colin Adams Preston Lancashire ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Qualified operators

2009-08-27 Thread Colin Paul Adams
Miguel == Miguel Mitrofanov miguelim...@yandex.ru writes: Miguel firstArgument Cool.Module.Name.%- secondArgument Thanks. I think I tried that first, must have have got misled by ghc's other confusing messages. Compiling ok now. -- Colin Adams Preston Lancashire

[Haskell-cafe] Problem with monadic formlets

2009-08-27 Thread Colin Paul Adams
I'm trying to validate user input against a database (using HaskellDB, but that doesn't seem to be the problem, as replacing the database monadic code with return True gives the same problem. This is part of my code: register :: Database - XForm Registration --register db = Registration $

Re: [Haskell-cafe] Where does documentation get installed with cabal?

2009-08-21 Thread Colin Paul Adams
Antoine == Antoine Latter aslat...@gmail.com writes: Antoine On Thu, Aug 20, 2009 at 8:58 AM, Colin Paul Antoine Adamsco...@colina.demon.co.uk wrote: Hello, I'm trying to find the API documentation for happstack 0.3 (online is for 0.2). So I did:

Re: [Haskell-cafe] gbp sign showing as unknown character by GHC

2009-08-20 Thread Colin Paul Adams
Judah == Judah Jacobson judah.jacob...@gmail.com writes: Judah On Wed, Aug 19, 2009 at 10:31 AM, Iain Barnettiainsp...@gmail.com wrote: Quick question: I've tested this in a couple of different terminals (roxterm and xterm), so I'm fairly sure it's GHC that's the problem.

Re: [Haskell-cafe] gbp sign showing as unknown character by GHC

2009-08-20 Thread Colin Paul Adams
Bulat == Bulat Ziganshin bulat.zigans...@gmail.com writes: Bulat Hello Colin, Bulat Thursday, August 20, 2009, 10:13:28 AM, you wrote: I don't understand where latin-1 comes into this. String is supposed to be a list of Unicode characters. Bulat but ghc 6.10 i/o used String

Re: [Haskell-cafe] gbp sign showing as unknown character by GHC

2009-08-20 Thread Colin Paul Adams
Stuart == Stuart Cook sco...@gmail.com writes: Stuart On Thu, Aug 20, 2009 at 4:28 PM, Colin Paul Stuart Adamsco...@colina.demon.co.uk wrote: But how do you get Latin-1 bytes from a Unicode string? This would need a transcoding process. Stuart The first 256 code-points of

[Haskell-cafe] Where does documentation get installed with cabal?

2009-08-20 Thread Colin Paul Adams
Hello, I'm trying to find the API documentation for happstack 0.3 (online is for 0.2). So I did: cabal install happstack --reinstall --enable-documentation but I can't find it anywhere within ~/.cabal - where should I look? -- Colin Adams Preston Lancashire

Re: [Haskell-cafe] Where does documentation get installed with cabal?

2009-08-20 Thread Colin Paul Adams
Max == Max Desyatov explicitc...@googlemail.com writes: Max Colin Paul Adams co...@colina.demon.co.uk writes: I'm trying to find the API documentation for happstack 0.3 (online is for 0.2). So I did: cabal install happstack --reinstall --enable-documentation

Re: [Haskell-cafe] Re: Planning for a website

2009-08-19 Thread Colin Paul Adams
Gour == Gour g...@gour-nitai.com writes: Colin == Colin Paul Adams co...@colina.demon.co.uk writes: Colin So my major decision is what framework and html-generating Colin libraries to use. There is such a wide choice on the Colin Haskell Wiki. But I guess some are more maintained

Re: [Haskell-cafe] Re: ANN: Typeful/Text/HTMLs (for AngloHaskell/for scrap?)

2009-08-19 Thread Colin Paul Adams
Jon == Jon Fairbairn jon.fairba...@cl.cam.ac.uk writes: Jon I wrote: You can get the whole thing with darcs get --partial http://homepage.ntlworld.com/jon.fairbairn/Typeful/Text/nHTMLs Jon but that was a temporary url that I copied and pasted. The Jon correct

Re: [Haskell-cafe] Re: ANN: Typeful/Text/HTMLs (for AngloHaskell/for scrap?)

2009-08-19 Thread Colin Paul Adams
Jon == Jon Fairbairn jon.fairba...@cl.cam.ac.uk writes: Will it be cabal-ized soon? Jon That depends on whether anyone wants it done sufficiently Jon strongly to do it. Then I guess I will - some time in October. -- Colin Adams Preston Lancashire

[Haskell-cafe] Can't install Haskell Platform on 64-bit Linux

2009-08-18 Thread Colin Paul Adams
I installed GHC 6.10.4 (as ./configure said it was required) from a .bz2 file on the GHC downloads page. I then tried ./configure for the platform again, and got: checking ghc actually works... no configure: error: Your installation of ghc does not appear to work. It cannot compile a simple

Re: [Haskell-cafe] Can't install Haskell Platform on 64-bit Linux

2009-08-18 Thread Colin Paul Adams
Magnus == Magnus Therning mag...@therning.org writes: Magnus On Tue, Aug 18, 2009 at 10:25 AM, Colin Paul Magnus Adamsco...@colina.demon.co.uk wrote: I installed GHC 6.10.4 (as ./configure said it was required) from a .bz2 file on the GHC downloads page. I then tried

Re: [Haskell-cafe] Can't install Haskell Platform on 64-bit Linux

2009-08-18 Thread Colin Paul Adams
Magnus == Magnus Therning mag...@therning.org writes: Magnus Ouch, there only seems to be a version of 6.10.3 in Fedora Magnus 11, if I read this correctly: Magnus https://admin.fedoraproject.org/pkgdb/packages/name/ghc Magnus (I'm not a Fedora user so I might be completely

[Haskell-cafe] Text.Html introduction

2009-08-18 Thread Colin Paul Adams
http://www.haskell.org/ghc/docs/latest/html/libraries/xhtml/Text-XHtml.html says: Based on the original Text.Html library by Andy Gill. See http://www.cse.ogi.edu/~andy/html/intro.htm for an introduction to that library. But that link gives a not-found page. Anyone know where it is know? --

[Haskell-cafe] Planning for a website

2009-08-18 Thread Colin Paul Adams
I'm intending to replace my current website - which uses Drupal, with a hand-written-in-Haskell version this autumn, for a number of reasons (a principal one is the lack of an upgrade path in Drupal). So I'm currently looking into the libraries available to see how much I'll have to write myself.

  1   2   3   >