Hello fellow Haskellers,
(after failing (again) to send to the haskell list, I'm posting this
here. I've contacted the mailing list owner about this.)
I'm announcing the 0.4.0 release of the 'contstuff' monad transformer
library, an alternative to libraries like 'mtl', 'transformers' and
Thanks Ivan,
* Keep using old-style exceptions. With GHC 6.10 and 6.12, import
Control.OldException instead of Control.Exception
* Manually migrate the RWH code to new-style exceptions; there are two
ways of doing this:
- For production code, you should add explicit type signatures, etc.
On 30 September 2010 16:46, C K Kashyap ckkash...@gmail.com wrote:
Could you please review the change I've done to Don Stewart's
scripting example -
run s = handle (fail . show) $ do
(ih,oh,eh,pid) - runInteractiveCommand s
so - hGetContents oh
se - hGetContents eh
hClose ih
The change looks good; note, however, that you're doing something
subtly different if an error occurs: in the original, if an error
occured then fail was used to forcibly terminate the program. Your
variant however returns the shown error message. Depending on the
situation, this is usually
Hi All,
I was thinking about doing an EDSL for Makefile (as an exercise)
I put down my line of thought here -
http://hpaste.org/40233/haskell_makefile_edsl
I'd appreciate some feedback on the approach. Also, I wanted some idea
on how(in the current approach) I could make the target name and the
Joachim Breitner wrote:
on planet.debian.org, there is some ill-tempered discussion about the
seemingly bad relationship between the Ruby community and Debian
maintainers. The following blog post summarizes the issues quite well
and calmly:
http://gwolf.org/blog/ruby-dissonance-debian-again
Hi,
You might want to take a look at http://github.com/nfjinjing/nemesis
which is somewhat related.
Warren
On Thu, Sep 30, 2010 at 1:41 AM, C K Kashyap ckkash...@gmail.com wrote:
Hi All,
I was thinking about doing an EDSL for Makefile (as an exercise)
I put down my line of thought here -
On 29 Sep 2010, at 20:34, Steve Schafer wrote:
This is an attitude that just doesn't fly in the Windows world. Which is
unfortunate, because the Windows market is HUGE compared to OS X, and
STUNNINGLY HUGE compared to everything else.
The fix isn't going to be to find a developer who's
On Thu, Sep 30, 2010 at 10:15, Heinrich Apfelmus
apfel...@quantentunnel.de wrote:
Joachim Breitner wrote:
on planet.debian.org, there is some ill-tempered discussion about the
seemingly bad relationship between the Ruby community and Debian
maintainers. The following blog post summarizes the
On 30/09/10 09:41, C K Kashyap wrote:
Hi All,
I was thinking about doing an EDSL for Makefile (as an exercise)
I put down my line of thought here -
http://hpaste.org/40233/haskell_makefile_edsl
I'd appreciate some feedback on the approach. Also, I wanted some idea
on how(in the current
Thanks Neil and Warren.
On Thu, Sep 30, 2010 at 3:32 PM, Neil Brown nc...@kent.ac.uk wrote:
On 30/09/10 09:41, C K Kashyap wrote:
Hi All,
I was thinking about doing an EDSL for Makefile (as an exercise)
I put down my line of thought here -
http://hpaste.org/40233/haskell_makefile_edsl
Am 29.09.2010 20:01, schrieb Daniel Fischer:
On Wednesday 29 September 2010 19:10:22, Ben Franksen wrote:
Note the last line mentions only '}'. I would rather like to see
expecting } or digit
since the parser could very well accept another digit here.
parsec2 did that, I don't know
Hi Warren,
You might want to take a look at http://github.com/nfjinjing/nemesis
which is somewhat related.
The above looks like a DSL approach and not an EDSL approach.
--
Regards,
Kashyap
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
2010/9/30 Andrew Coppin andrewcop...@btinternet.com:
And even then, your
developed application will only run on Windows boxes that have GTK+
installed (i.e., none of them).
You can copy GTK+ DLLs with application.
It works very well.
___
On 30 Sep 2010, at 12:02, Serguey Zefirov wrote:
2010/9/30 Andrew Coppin andrewcop...@btinternet.com:
And even then, your
developed application will only run on Windows boxes that have GTK+
installed (i.e., none of them).
You can copy GTK+ DLLs with application.
Works fine with wxHaskell
Hi,
I would like to see that we add gtk2hs and/or wxHaskell to the Haskell
Platform.
That would improve the situation!
I used gtk2hs and found it usable to build a cross platform GUI App. On
Windows you
need an installer, which includes the gtk library part. There are some (on
Windows quite
How about:
execute (gcc -c ++ dependencyList ++ -o ++ target r1)
/ Emil
2010-09-30 10:41, C K Kashyap skrev:
Also, I wanted some idea
on how(in the current approach) I could make the target name and the
dependency available to the action writer - as shown below.
r1 = Rule {
Hi,
What great timing! I will be giving a talk at the Haskell Implementors
Workshop tomorrow about the Make system Shake. It will be video taped
and I can send you the slides after I've given the talk. So wait a
day, and I'll give you all the answers.
Thanks, Neil
On Thu, Sep 30, 2010 at 6:02
Hi,
Am Donnerstag, den 30.09.2010, 11:15 +0200 schrieb Heinrich Apfelmus:
Joachim Breitner wrote:
on planet.debian.org, there is some ill-tempered discussion about the
seemingly bad relationship between the Ruby community and Debian
maintainers. The following blog post summarizes the
On 30 September 2010 23:06, Joachim Breitner m...@joachim-breitner.de wrote:
Hi,
Am Donnerstag, den 30.09.2010, 11:15 +0200 schrieb Heinrich Apfelmus:
Joachim Breitner wrote:
on planet.debian.org, there is some ill-tempered discussion about the
seemingly bad relationship between the
On Thu, Sep 30, 2010 at 13:05, Neil Mitchell ndmitch...@gmail.com wrote:
Hi,
What great timing! I will be giving a talk at the Haskell Implementors
Workshop tomorrow about the Make system Shake. It will be video taped
and I can send you the slides after I've given the talk. So wait a
day,
Very interesting! And the API seems very nice, although I haven't
used the package.
Are there benchmarks for monad transformers? How big is the
difference between CPS and non-CPS monad libraries?
Cheers!
--
Felipe.
___
Haskell-Cafe mailing list
Andrew Coppin schrieb:
On 29/09/2010 02:18 PM, Henning Thielemann wrote:
The truth is: Given the separator style of constructor definition,
there is no correct way to format those declarations. :-) The correct
way would be to allow terminator style.
Well, yes, there is that. (And this
FWIW, I align all my module imports up, as seen here:
http://github.com/chrisdone/amelie/raw/master/src/Web/Codepad.hs and
here http://github.com/chrisdone/amelie/raw/master/src/Amelie/HTML.hs
etc.
I use the following Emacs library to do it for me:
On Wed, Sep 29, 2010 at 7:21 AM, Michael Snoyman mich...@snoyman.com wrote:
I think this approach is not possible without involving some fairly
ugly unsafeInterleaveIO/unsafePerformIO calls. A simple example using
a common web programming example: support I have a multi-user blog
site, where
I align my imports by hand, but your Emacs scripts look useful. I
think I'm going to use them too.
Another extremely useful function for aligning is align-regexp.
On the subject of coding style, I can work with almost any style as
long as it is used somewhat consistently. Personally I try to
On 30 September 2010 16:47, Roel van Dijk vandijk.r...@gmail.com wrote:
On the subject of coding style, I can work with almost any style as
long as it is used somewhat consistently. Personally I try to optimize
my code for ease of reading because I spend much more time reading
code than
While we're on the topic of databases, I really wanted to try out
query/inserting from/to my database with records like this:
http://hpaste.org/40240/db_library_approach
Define a record:
data Person f =
Person { pid:: f Integer
, firstName :: f String
, middleName ::
On Thu, Sep 30, 2010 at 4:35 PM, Felipe Lessa felipe.le...@gmail.com wrote:
On Wed, Sep 29, 2010 at 7:21 AM, Michael Snoyman mich...@snoyman.com wrote:
I think this approach is not possible without involving some fairly
ugly unsafeInterleaveIO/unsafePerformIO calls. A simple example using
a
What great timing! I will be giving a talk at the Haskell Implementors
Workshop tomorrow about the Make system Shake. It will be video taped
and I can send you the slides after I've given the talk. So wait a
day, and I'll give you all the answers.
Will you publish the tool too? ;-)
No :-(
Christian Maeder wrote:
Am 29.09.2010 20:01, schrieb Daniel Fischer:
On Wednesday 29 September 2010 19:10:22, Ben Franksen wrote:
Note the last line mentions only '}'. I would rather like to see
expecting } or digit
since the parser could very well accept another digit here.
parsec2
(apologies if you receive multiple copies)
Dear All,
We are pleased to announce that the fourth Ghent Functional Programming Group
(GhentFPG) meeting will take place on Thursday, October 7th, at 19h in the
Technicum building of Ghent University (Sint-Pietersnieuwstraat 41, 9000 Gent).
As
On Wed, Sep 29, 2010 at 5:21 AM, Michael Snoyman mich...@snoyman.com wrote:
I think this approach is not possible without involving some fairly
ugly unsafeInterleaveIO/unsafePerformIO calls. A simple example using
a common web programming example: support I have a multi-user blog
site, where
On Thu, Sep 30, 2010 at 5:15 PM, Christopher Done
chrisd...@googlemail.com wrote:
... One thing that makes figuring out a code base hard is when the
code doesn't have explicit imports. Sometimes I can load the code in
GHCi and inspect the symbols manually, sometimes I can't. If the
import list
On Thu, 30 Sep 2010, Bas van Dijk wrote:
On Thu, Sep 30, 2010 at 5:15 PM, Christopher Done
chrisd...@googlemail.com wrote:
... One thing that makes figuring out a code base hard is when the
code doesn't have explicit imports. Sometimes I can load the code in
GHCi and inspect the symbols
Hi,
recently I was spell-checking a literate Haskell source file (within the
vim editor). The spell checker correctly ignored LaTeX commands, but I
had to manually skip over code blocks inside |...|. This was really
annoying and I couldn't figure out how to configure the spell checker to
Here are a few other styles I use:
* Unicode syntax and symbols
I use the UnicodeSyntax extension in all my projects. It allows you to
write nice Unicode syntax instead of the normal ASCII art. For
example: '→' instead of '-' and '∀' instead of 'forall'.
Additionally I'm a power-user of my
On Thu, 30 Sep 2010, Bas van Dijk wrote:
I believe UnicodeSyntax and symbols make code easier to read.
If it can be read at all ... your Unicode symbol for '::' isn't shown in
my terminal.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Quoth Henning Thielemann lemm...@henning-thielemann.de,
On Thu, 30 Sep 2010, Bas van Dijk wrote:
I believe UnicodeSyntax and symbols make code easier to read.
If it can be read at all ... your Unicode symbol for '::' isn't shown in
my terminal.
Same here, of course. Win small, lose big.
On Thu, Sep 30, 2010 at 10:51 PM, Henning Thielemann
lemm...@henning-thielemann.de wrote:
On Thu, 30 Sep 2010, Bas van Dijk wrote:
I believe UnicodeSyntax and symbols make code easier to read.
If it can be read at all ... your Unicode symbol for '::' isn't shown in my
terminal.
Ah what a
Here is a list of fonts that support that particular character:
http://www.fileformat.info/info/unicode/char/2237/fontsupport.htm
I think I'll add a little font overview to my unicode-symbols wiki
page. Most Unicode symbols that are useful in Haskell are not terribly
obscure and supported by a
On Thu, Sep 30, 2010 at 11:24 PM, Bas van Dijk v.dijk@gmail.com wrote:
For what it's worth: '::' shows up correctly in my terminals (Konsole
or urxvt with Bitstream Vera Sans Mono font).
Turns out that I'm actually using the 'DejaVu Sans Mono' font...
On Wed, Sep 29, 2010 at 9:13 PM, Alexander Solla a...@2piix.com wrote:
On 09/29/2010 02:15 PM, DavidA wrote:
instance Monad (\v - Vect k (Monomial v))
Yes, that is exactly what I am trying to say. And since I'm not allowed to
say
it like that, I was trying to say it using a type synonym
On 30 September 2010 21:02, Bas van Dijk v.dijk@gmail.com wrote:
Note that, although I don't use it myself, the GHC flag:
-ddump-minimal-imports can help you with this style:
http://www.haskell.org/ghc/docs/6.12.2/html/users_guide/separate-compilation.html#hi-options
Indeed, after
Sorry, forgot to reply to all
You also sometimes refactor part of a module to another module, and
then you need to copy over all the necessary imports. I tend to copy
all my imports over and then remove the ones GHCi tells me aren't
necessary. So, one solution to make this automatic copy over
On Wed, Sep 22, 2010 at 04:57:42PM +0200, Lafras Uys wrote:
data MyType a b = MyType {f::(a - b)}
data SomeType a b = SomeType {g::(a,b)}
instance (Symmetric MyType (Product MyType),
Monoidal MyType (Product MyType),
PreCartesian MyType) = CCC MyType where
On 30/09/2010, at 7:08 AM, Christopher Done wrote:
On 29 September 2010 17:01, cas...@istar.ca wrote:
I still cannot seem to get a GUI working under Windows.
For Haskell GUI's is Ubuntu easier to setup.
If so, we're losing people if Haskell GUI's are so hard to get working under
Over the past few months I've been designing and implementing a new language
called Atomo. The idea is to build up a very expressive language from as few
parts as possible, akin to Io or Scheme. But first, the fundamentals:
prototype-based object-orientation with multiple dispatch and
Felipe Lessa felipe.le...@gmail.com wrote:
Very interesting! And the API seems very nice, although I haven't
used the package.
Are there benchmarks for monad transformers? How big is the
difference between CPS and non-CPS monad libraries?
I have run some small and probably not that
Hi
Message-ID: aanlktinrozniqf4+ykxofho0fb=3b_7tfdux=vvbg...@mail.gmail.com
Hi -
What are the libraries to use in Haskell to generate a stock
candlestick chart like
http://stockcharts.com/h-sc/ui?s=SPYp=Db=5g=5id=p05007254056http://stockcharts.com/h-sc/ui?s=SPYp=Db=5g=5id=p05007254056
I will
On 1 October 2010 15:12, Vivian McPhail
haskell.vivian.mcph...@gmail.com wrote:
Hi
Message-ID: aanlktinrozniqf4+ykxofho0fb=3b_7tfdux=vvbg...@mail.gmail.com
Hi -
What are the libraries to use in Haskell to generate a stock
candlestick chart like
Hi,
The rationale behind developing the plot package is a desire to target users
as well as programmers.
The plot interface provides monadic construction of figures, very similar in
style to the way a gnuplot script or matlab script/function would be
structured (especially with the Simple
52 matches
Mail list logo