[Haskell] ANN: Chart library v1.0

2013-08-29 Thread Tim Docker
cairo http://hackage.haskell.org/package/Chart-diagrams Tim Docker ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

Re: [Haskell] JustHub 'Sherkin' Release

2012-06-14 Thread Tim Docker
On 14/06/12 18:36, Peter Simons wrote: it might be of interest to know that the Nix package manager [1] offers that functionality too, but it can install such Haskell environments on all Linux variants and on MacOS X without requiring superuser privileges. Is this actually the case? When I tri

[Haskell] Announce: Chart-0.9

2008-10-29 Thread Tim Docker
Chart-0.9 is now available via hackage and a darcs repository. This is a library for drawing 2D charts. It relies upon the haskell cairo binding that is part of gtk2hs, and hence supports several backend output formats (png, pdf, ps, etc). Further information is available here: http://docker

[Haskell] ANN: Chart 0.6

2008-03-10 Thread Tim Docker
A post to announce that Chart-0.6 is now available from it's darcs repository and from hackage. This is a library for drawing 2D charts. It relies upon the haskell cairo binding that is part of gtk2hs, and hence supports several backend output formats (windows, png, pdf, ps, etc). I'm announcing

[Haskell] hbeat: a rhythm sequencer

2008-01-15 Thread Tim Docker
I've just uploaded to hackage a step-based music sequencer, called "hbeat". It's little more than a toy, but it's fun. It ought to be cross platform, though has been built and tested solely on linux. Given that it's only 400 or so lines, it may be a useful example for anyone wanting to comb

[Haskell] ANN: A Haskell Charting Library

2006-05-14 Thread Tim Docker
I'm making available the current state of my 2D charting library for haskell. It's still at quite an early stage, but may prove useful. At present it has: - line charts, points charts, fills, and combinations. - Automatic layout sizing and adjustment. - Auto scaling of axis ranges

RE: [Haskell] Haskell as a disruptive technology?

2006-03-27 Thread Tim Docker
Robert Dockins wrote: > All we have to do is be ready for it when it arrives. > When people see that, using Haskell, they can write programs using 1) > fewer man-hours with 2) fewer bugs which 3) scale effortlessly to > highly parallel hardware to beat the pants off C/C++/Java/what-have- >

[Haskell] Haskell DB bindings (was Re: ANN: HDBC (Haskell Database Connectivity)

2006-01-09 Thread Tim Docker
[EMAIL PROTECTED] wrote: > Incidentally, the difficulty with finalizers was precisely the > argument for using enumerators rather than cursors in database > APIs. Takusen has implemented that idea; takusen currently supports > Sqlite, PostgreSQL and Oracle, has a test suite. Its performance test >

RE: [Haskell] IO, exceptions and error handling

2004-06-14 Thread Tim Docker
Keith Wansbrough wrote: > s/fail/error/ > s/return// > > Then you can easily write > > > I can't (easily) write > > > > text c = sqr x + sqr (x+1) > > You just can't *catch* this outside the IO monad. Of course... that was my second alternative error strategy. I'm interest in how/when peo

RE: [Haskell] IO, exceptions and error handling

2004-06-14 Thread Tim Docker
Philippa Cowderoy wrote: > The ability to fail doesn't need the do notation, just use of > return for success - similar for propagating failure. I'm not sure I understand. Do you mean writing functions like: sqr x | x < 0 = fail "less than zero" | otherwise = return (sqrt x)

RE: [Haskell] IO, exceptions and error handling

2004-06-14 Thread Tim Docker
Keith Wansbrough wrote: > Read the paper _A Semantics for Imprecise Exceptions_. The > problem is that the evaluation order of Haskell would have to > be fixed for this not to lose referential transparency. What > is the value of > > catchExcept (show (makeExcept "E1" + makeExcept "E2")) >

RE: access to fields in nested records

2003-11-05 Thread Tim Docker
(Apologies for previous incomplete post: Here's the whole thing) One thing that bugs me about the named record syntax, is that with a datatype: data T = T { t_f1 :: X, t_f2 :: X }; the function t_f1 has the type of an "accessor", ie t_f1 :: T -> X but there doesn't any tidy wa

RE: access to fields in nested records

2003-11-05 Thread Tim Docker
One thing that bugs me about the named record syntax, is that with a datatype: data T = T { t_f1 :: X, t_f2 :: X }; the function t_f1 has the type of an "accessor", ie t_f1 :: T -> X but there doesn't any tidy way to get at the "mutator" function t_f1' :: X -> T -> T w

RE: Haskell for non-Haskell's sake

2003-09-01 Thread Tim Docker
Jerzy Karczmarczuk wrote: > Presumably this reviewer has his particular visions what a science is, > but I don't believe that such people dominate in the milieu of FPL. > I believe that it would be interesting to organize some workshops > on "practical" applications of functional programmi

RE: ANNOUNCE: GHC version 6.0

2003-05-30 Thread Tim Docker
Congratulations on the new release. But out of curiosity, I've got to ask... Why is the test suite now driven by a python script? Is this a niche where a 'scripting' language was deemed more suitable than haskell? ___ Haskell mailing list [