Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk writes:
Dominic Steinitz dominic.steinitz at blueyonder.co.uk wrote:
I want to use hpc to check that the ASN.1 library tests cover all the
code. When I run it with a set of tests that I *know* don't test
certain things, it reports that
Am Samstag 25 April 2009 08:48:16 schrieb Thomas Davie:
On 24 Apr 2009, at 14:37, Loup Vaillant wrote:
2009/4/23 Miguel Mitrofanov miguelim...@yandex.ru:
On 23 Apr 2009, at 12:17, Thomas Davie wrote:
Haskell is a very horizontal language, and to limit our horizontal
space
seems pretty
Something like
newtype MyCoolMonad = MyCoolMonad (FirstTransformer (SecondTransformer
(ThirdTransformer Whatever))) deriving (Functor, Monad, FirstClass,
SecondClass, ThirdClass, SomeOtherClass)
Nobody would be really interested in deriving clause, because it
basically says derive
Count me in too
I've got a library that endeavours to deliver 'rate-equivalence' - i.e
there may be some jitter in when the events should have occurred but
their long term rate of progress is stable.
Testing has shown that I can get events to occur at the right time
within 1ms (99%+ of
What kind of port is this? Direct translation from ruby source?
I see that you are using the (.) for OO-style reversed function
application. Which feels a bit weird at first sight.
Snippet from your Hack.Handler.Kibro:
handle app = do
env - get_env
response - app env .liftIO
-- set
Yes, the spec is almost a direct translation from Rack.
For middleware, I translated some from Rack, but it does not have to
be a port. I'm just lazy.
Rack borrowed some basic middleware from WSGI too, like Lint.
About the style, it's a bit weird, yes. But only in module scope ;)
On Sat, Apr
Sasha Shipka xao...@gmail.com writes:
Let say one has to do something similar to this:
execDML $ cmdbind (sql update some_table set some_boolean_field = ?
where ...) [bindP True, ...]
When I do it, I have an error:
DBError (42,804) 7 ERROR: 42804: column \some_boolean_field\
is of type
* with practically every modern IDE (say, Eclipse for Java), indentation is a
non-issue.
part of this discussion here is just because we are missing proper tools.
(Or not using.)
* indentation should be by fixed amounts (e.g. 4 spaces for each level)
and not depend on lengths of identifiers
On 25 Apr 2009, at 17:32, j.waldmann wrote:
* with practically every modern IDE
You mean, with Emacs?
* indentation should be by fixed amounts (e.g. 4 spaces for each
level)
and not depend on lengths of identifiers (because you might later
change
them)
Agreed. I always write code
On 25 Apr 2009, at 10:51, Daniel Fischer wrote:
Am Samstag 25 April 2009 08:48:16 schrieb Thomas Davie:
On 24 Apr 2009, at 14:37, Loup Vaillant wrote:
2009/4/23 Miguel Mitrofanov miguelim...@yandex.ru:
On 23 Apr 2009, at 12:17, Thomas Davie wrote:
Haskell is a very horizontal language, and
* with practically every modern IDE (say, Eclipse for Java), indentation is a
non-issue.
How so? In future IDEs, source code might just be a view on an internal
representation, but we've have that kind of IDE in the past, and some users
developed a definite dislike to tools that wouldn't let
Miguel Mitrofanov miguelim...@yandex.ru writes:
On 24 Apr 2009, at 16:37, Loup Vaillant wrote:
2009/4/23 Miguel Mitrofanov miguelim...@yandex.ru:
On 23 Apr 2009, at 12:17, Thomas Davie wrote:
Haskell is a very horizontal language, and to limit our horizontal
space
seems pretty weird.
On 25 Apr 2009, at 18:34, Xiao-Yong Jin wrote:
Miguel Mitrofanov miguelim...@yandex.ru writes:
On 24 Apr 2009, at 16:37, Loup Vaillant wrote:
2009/4/23 Miguel Mitrofanov miguelim...@yandex.ru:
On 23 Apr 2009, at 12:17, Thomas Davie wrote:
Haskell is a very horizontal language, and to
On Fri, 24 Apr 2009 16:53:49 -0400
Adam Turoff adam.tur...@gmail.com wrote:
I got an Eee PC this winter and I started playing with Arch Linux on
it. Seems nice in theory, but the hardware is weird enough that you'll
need to spend a lot of time fiddling to get the right modules
installed
Am Samstag 25 April 2009 16:44:45 schrieb Miguel Mitrofanov:
On 25 Apr 2009, at 18:34, Xiao-Yong Jin wrote:
Miguel Mitrofanov miguelim...@yandex.ru writes:
On 24 Apr 2009, at 16:37, Loup Vaillant wrote:
2009/4/23 Miguel Mitrofanov miguelim...@yandex.ru:
On 23 Apr 2009, at 12:17, Thomas
On Sat, Apr 25, 2009 at 10:34:05AM -0400, Xiao-Yong Jin wrote:
You don't write lisp, do you? Or probably it is just me.
But I would prefer to write the line as
newtype MyCoolMonad = MyCoolMonad (FirstTransformer
(SecondTransformer
Hello,
I want to install leksah haskell IDE on my windows(xp) system.
I download leksah's source (leksah-0.4.4.1).
I also have gtk2hs (0.10.0) in my path.
I am having ghc-6.10.2.
As suggested on leksah's website..
I used runhaskell setup configure command
But it is failing with this error
On 25 Apr 2009, at 19:08, Felipe Lessa wrote:
On Sat, Apr 25, 2009 at 10:34:05AM -0400, Xiao-Yong Jin wrote:
You don't write lisp, do you? Or probably it is just me.
But I would prefer to write the line as
newtype MyCoolMonad = MyCoolMonad (FirstTransformer
On Fri, Apr 24, 2009 at 08:40, Edward Kmett ekm...@gmail.com wrote:
The only caveat I would mention about using Data.Binary is that it traverses
lists twice to encode them. Once to determine the length and once to output
the list. As a result you may see space-leak-like behavior when encoding
On Sat, Apr 25, 2009 at 07:38:59PM +0400, Miguel Mitrofanov wrote:
Also, I don't mistake the transformers as different
parameters because of the parenthesis
You should really try Lisp. In my opinion, parenthesis are a kind of
noise - too small, too many.
I don't try lisp because I don't like
On 25 Apr 2009, at 19:59, Felipe Lessa wrote:
On Sat, Apr 25, 2009 at 07:38:59PM +0400, Miguel Mitrofanov wrote:
Also, I don't mistake the transformers as different
parameters because of the parenthesis
You should really try Lisp. In my opinion, parenthesis are a kind of
noise - too small,
Hi,
I've defined the following datatype with haskell
data Graph a b = Empty | Context a b Graph a b
But I am having the error message: parse error on input `' .
I am wondering what it is wrong with my definition. How can I fix this?
Thanks in advance.
Kind regards
Am Samstag 25 April 2009 19:29:30 schrieb siso dagbovie:
Hi,
I've defined the following datatype with haskell
data Graph a b = Empty | Context a b Graph a b
But I am having the error message: parse error on input `' .
I am wondering what it is wrong with my definition. How can I fix
siso dagbovie wrote:
I've defined the following datatype with haskell
data Graph a b = Empty | Context a b Graph a b
But I am having the error message: parse error on input `' .
I am wondering what it is wrong with my definition. How can I fix this?
Constructors have to start with a
I'd like to be able to translate Haskell to JavaScript.
Many Haskell/JS bridges provide libraries for writing complete
JavaScript programs in Haskell; some of them even include
jQuery. However, my goals are more limited -- I'd like to be
able to take a Haskell module and turn it into a
On 25 Apr 2009, at 21:53, Jason Dusek wrote:
Many Haskell/JS bridges provide libraries for writing complete
JavaScript programs in Haskell; some of them even include
jQuery. However, my goals are more limited -- I'd like to be
able to take a Haskell module and turn it into a JavaScript
I tried using the jhc javascript compiler back end a year or so ago.
It was too rough to use in production, but it did output javascript
from haskell.
thomas.
2009/4/25 Miguel Mitrofanov miguelim...@yandex.ru:
On 25 Apr 2009, at 21:53, Jason Dusek wrote:
Many Haskell/JS bridges provide
On second thought, it was yhc, not jhc:
http://lambda-the-ultimate.org/node/1836
2009/4/25 Thomas Hartman tphya...@gmail.com:
I tried using the jhc javascript compiler back end a year or so ago.
It was too rough to use in production, but it did output javascript
from haskell.
thomas.
On Apr 25, 2009, at 13:53 , Jason Dusek wrote:
I'd like to be able to translate Haskell to JavaScript.
http://haskell.org/haskellwiki/Yhc/Javascript ?
Many Haskell/JS bridges provide libraries for writing complete
JavaScript programs in Haskell; some of them even include
jQuery. However,
There will always be some people who prefer longer lines. The
real issue is, how do we deal with the fundamental
disagreement here? It's not like we can have both. Also those
people who like long lines -- will they all agree to a long
line length?
--
Jason Dusek
2009/04/25 Brandon S. Allbery KF8NH allb...@ece.cmu.edu:
2009/04/25 Jason Dusek:
I'd like to be able to translate Haskell to JavaScript.
http://haskell.org/haskellwiki/Yhc/Javascript ?
Dead.
Many Haskell/JS bridges provide libraries for writing
complete JavaScript programs in Haskell;
2009/04/25 Miguel Mitrofanov miguelim...@yandex.ru:
2009/04/25 Jason Dusek wrote:
Many Haskell/JS bridges provide libraries for writing
complete JavaScript programs in Haskell; some of them even
include jQuery. However, my goals are more limited -- I'd
like to be able to take a Haskell module
2009/04/25 Thomas Hartman tphya...@gmail.com:
2009/04/25 Thomas Hartman tphya...@gmail.com:
I tried using the jhc javascript compiler back end a year or so ago.
On second thought, it was yhc, not jhc:
http://lambda-the-ultimate.org/node/1836
Yeah, I think that thing has been dead for
Hi Ryan,
Nice to hear from another games industry coder on the Haskell lists :)
Thanks, this is exactly the kind of detail I was after. I had heard rumours of
the Evil Mangler but hadn't found a concrete reference to it before. This makes
a lot of sense. Given this and the other helpful
Hello Sam,
Saturday, April 25, 2009, 11:40:05 PM, you wrote:
btw, are you seen MetaLua? it's pretty piece of software that makes
Lua very FPish
Hi Ryan,
Nice to hear from another games industry coder on the Haskell lists :)
Thanks, this is exactly the kind of detail I was
Christopher Lane Hinson wrote:
Is there any interest or movement in developing thread priority or any
other realtime support in Haskell?
Right now, if I have tasks that need to be responsive in real time, even
if the realtime needs are very soft, it seems that the only option is to
try to
Hi,
I've defined the datatype:
data Graph a b = Empty | Context a b : Graph a b
and the function
isEmpty :: Graph a b - Bool
isEmpty Empty = True
isEmpty _ = False
and when I do a test run with the graph,
( [ ],2,'c',[(down,3)]) : Empty
Haskell is bringing the message Not in
I'd like this functionality, as well, but it doesn't exist, at least
for Haskell.
If you don't need a 100% pure functional language, and don't need the
bells and whistles of the Haskell type system, you might be interested
in SML -- a purer relative of the more widely-known Ocaml.
siso dagbovie wrote:
Hi,
I've defined the datatype:
data Graph a b = Empty | Context a b : Graph a b
and the function
isEmpty :: Graph a b - Bool
isEmpty Empty = True
isEmpty _ = False
and when I do a test run with the graph,
( [ ],2,'c',[(down,3)]) : Empty
For parsers, there is also a LALR(1) generator -
http://jscc.jmksf.com/ - though I have not had personal experience
with it.
--A
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
When I did SELECT statement I handled boolean field as String, and
convert it to Bool.
However when I did update or insert, I must bind those values, then
takusen calls foreign postgres library and function with ? and
values of proper type. So I cannot use neither Bool neither String in
bindP.
2009/4/25 Sasha Shipka xao...@gmail.com:
When I did SELECT statement I handled boolean field as String, and
convert it to Bool.
However when I did update or insert, I must bind those values, then
takusen calls foreign postgres library and function with ? and
values of proper type. So I cannot
Interesting, thank you.
--
Jason Dusek
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
---
Haskell Weekly News
http://sequence.complete.org/hwn/20090425
Issue 115 - April 25, 2009
---
Welcome to issue 115 of HWN, a newsletter covering
On Fri, Apr 24, 2009 at 06:52:09PM +, Keith Battocchi wrote:
I'm trying to write some code to do folds on nested datatypes as in
http://web.comlab.ox.ac.uk/people/Jeremy.Gibbons/publications/efolds.pdf but
running into trouble getting things to typecheck.
Given the types
data Nest a
On 25 Apr 2009, at 21:09, Jason Dusek wrote:
There will always be some people who prefer longer lines. The
real issue is, how do we deal with the fundamental
disagreement here? It's not like we can have both. Also those
people who like long lines -- will they all agree to a long
line
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 and application for letting you quickly put together
Windows Installers for your software projects/products from within
the comforts of Haskell.
New in
It's surely more than enough to Haskell, Python, Perl, C++ and other
very concise and expressive languages. But for Java and the likes it
may well be just barely enough for a single *identifier* alone!! :P
2009/4/21 Dusan Kolar ko...@fit.vutbr.cz:
Dear all,
reading that
according the
2009/4/21 Edward Kmett ekm...@gmail.com:
I find a hard 80 character line length limit to be somewhat ridiculous in
this day and age. I've long since revised my personal rule of thumb upwards
towards 132, if only because I can still show two windows of that side by
side with no worries, along
On Tue, Apr 21, 2009 at 9:52 AM, Neil Mitchell ndmitch...@gmail.com wrote:
P.S. We really need such a well written style guide for
haskell. Python has this nice PEP (Python Enhancement
Proposals). Should we start making our own HEP?
We have one:
2009/04/25 Thomas Davie tom.da...@gmail.com:
2009/04/25 Jason Dusek:
There will always be some people who prefer longer lines. The
real issue is, how do we deal with the fundamental
disagreement here? It's not like we can have both. Also those
people who like long lines -- will they all agree
51 matches
Mail list logo