Whenever I do cabal update, the response is Unsuccessful HTTP code
403. That looks like the hackage server isn't responding, but other
software tools (browsers, etc) on the computer can download
the hackage database; the only program that can't get it is cabal.
Do you use an http proxy?
From: sefer@gmail.com [mailto:sefer@gmail.com] On
Behalf Of Yitzchak Gale
On Fri, Apr 23, 2010 at 1:24 PM, Bayley, Alistair wrote:
Looks like the London HUG domain (londonhug.net) registration has
expired. Neil Bartlett was the registrant.
Neil: do you plan to renew
From: glasgow-haskell-users-boun...@haskell.org
[mailto:glasgow-haskell-users-boun...@haskell.org] On Behalf
Of Denys Rtveliashvili
On the side note, is London HUG still active? The website
seems to be down...
Looks like the London HUG domain (londonhug.net) registration has
expired.
bri...@aracnet.com
Maciej Piechotka uzytkown...@gmail.com wrote:
On Wed, 2010-03-31 at 19:29 -0700, bri...@aracnet.com wrote:
wagne...@seas.upenn.edu wrote:
Two values of LocalTime may well be computed with respect to
different timezones, which makes the operation you ask
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Dupont Corentin
i'm using PHPProxy to go on the internet (www.phpproxy.fr).
How can i tell cabal to use this?
I think the normal way is through setting HTTP_PROXY env var e.g. set
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Günther Schmidt
Anyway through a very, very tedious process of xslt-transformations I
finally have the XML document I need.
But now I need to amend the attributes of some elements with
looked
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Günther Schmidt
You guys are right though, through the document function it would be
possible.
So any particular tool-set you could recommend?
On Windows, the Microsoft xslt processor supports
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of zaxis
For me i like C style instead of layout. For example,
func1 a = do {
-- ...;
a * 2;
-- ...;
}
The report has all the gory details. The brace+semicolon syntax isn't
just
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Günther Schmidt
I need to use MS Access as a DB-backend. To make it not too
easy there
are tables with Umlaut Strings in some of the columns.
And Takusen crashes outright.
Can you try
From: libraries-boun...@haskell.org
[mailto:libraries-boun...@haskell.org] On Behalf Of Stefan Monnier
Trying to get ssh working via putty from behind my company
firewall.
My recommendation is to get access to an outside machine where you run
an OpenVPN server on port 80 or 443. This
From: cristiano.pa...@gmail.com
[mailto:cristiano.pa...@gmail.com] On Behalf Of Cristiano Paris
On Fri, Jan 22, 2010 at 11:38 AM, Bayley, Alistair
alistair.bay...@invesco.com wrote:
...
Tried and failed. Our firewall will be closed to port 22 for the
forseaable future. I'll give
I recently uploaded a package to Hackage[1], which contains a
non-ASCII character in the .cabal file. That file is encoded with
UTF-8, and it displays fine in Vim, Firefox, and even the Hackage
package landing page. However, Haddock is failing to build it[2] --
apparently it can't handle
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Ketil Malde
Don Stewart d...@galois.com writes:
http://hackage.haskell.org/package/Diff
Wherein we can read:
| This is an implementation of the O(ND) diff algorithm
[...]. It is
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of
Gregory Crosswhite
Is there some secret to getting Haddock to work with literate
Haskell sources that I am missing?
For example, when I download Takusen and type
cabal configure
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of S.
Doaitse Swierstra
How about:
http://hackage.haskell.org/package/orchid
a simple, but nice wiki produced by one of our students Sebastiaan
Visser,
You can see it in action here:
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of John Meacham
On Fri, Nov 13, 2009 at 08:55:51PM +, Lennart Augustsson wrote:
That was indeed my point. Since a compiler is a
substantial program I
would have more confidence it a compiler
on the Haskell wiki?
http://www.haskell.org/haskellwiki/Relational_algebra
Günther
According to the page history, the userid is EndreyMark.
Alistair
*
Confidentiality Note: The information contained in this message,
and any
-Original Message-
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Bas van Dijk
I could of course write a genAlloca if the MonadIO class was extended
with a bracket method:
Besides extending MonadIO with bracket, maybe it's also
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Edward
Middleton
If you have counterexamples, then perhaps you can name
them. I'm looking
for Java shops with 5+ developers and code bases of 100k
converting
over to Haskell. I don't
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Andy Gimblett
Sent: 24 September 2009 20:19
On 24 Sep 2009, at 20:10, Duncan Coutts wrote:
On Thu, 2009-09-24 at 19:48 +0100, Andy Gimblett wrote:
That's great news for me, except: that's
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Andy Gimblett
It seems to me that Haddock only picks up annotation comments (ie
those that should be included in the produced documentation) from
literate Haskell source when those annotations
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Bulat Ziganshin
To: Peter Verswyvelen
But how does GHC implement the RealWorld internally? I guess
look the base library sources for RealWorld
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Dusan Kolar
During a small project I'm trying to develop a small
application. It
becomes quite often that I need a function mapapp:
mapapp _ [] ap = ap
mapapp f (a:as) ap = f a : map f as
mapapp _ [] ap = ap
mapapp f (a:as) ap = f a : map f as ap
What does mapapp do? What is its type?
Never mind, I've got it now.
Alistair
*
Confidentiality Note: The information contained in this message,
and any attachments,
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Pavel Perikov
unless you have some insanely
clever refactoring tool ready that can convert pure into monadic
functions and vice versa.
Not trying to attack the idea, just some thoughts:
I
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of
Is it possible with Haskell to call a function whose name is contained
in a String?
Something like:
five = call_func add [2, 3]
If not, perhaps this is acheivable using FFI?
Dynamic loading
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Claus Reinke
The problem comes when trying to scale down the size to
what would fit in a browser window (what a viewer would see,
without having to scroll around) - text becomes hard to read
Because Haskell is not OO, it is functional, I was
wondering if there is
some kind of analogous design pattern/template type concept that
describe commonly used functions that can be factored out
in a general
sense to provide the same kind of usefulness that Design
Patterns do for
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Deniz Dogan
Python already uses a snake and it reminds me too much of vi and
viper-mode etc. If so many people are reluctant towards the sloth,
why don't we just go for the narwhal? They're
The voting system we'll use is the Condorcet Internet Voting
System (http://www.cs.cornell.edu/andru/civs.html
). The poll won't be public, but every subscriber to Haskell-Cafe
will get a (private) voting ballot by email.
I'll supervise the poll and make sure it's started, stopped and
I'd love to hear about anything that I missed and/or that might
influence the voting process in a significant way. (There are
probably some people subscribed with multiple addresses,
but I'll be
using the subscriber list from yesterday, so signing up now
with lots of addresses won't
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Manlio Perillo
Sent: 02 March 2009 11:01
Eugene Kirpichov ha scritto:
I'm not considering the lazy IO approach, as it doesn't involve any
form of control over resources.
This is not always
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Duncan Coutts
This can still be done using withFile and hGetContents. You
just have to
put the consumer inside the scope of withFile. The consumer
can work in
a streaming fashion. With lazy
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Roel van Dijk
I replaced the standard random number generated with the one from
mersenne-random. On my system this makes the resulting program about
14 times faster than the original. I also made
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Don Stewart
You mean, everyone should be able to mess about with my
documentation? This
would be similar to give everyone commit rights to my
repositories or allow
everyone to edit the
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Adrian Neumann
I don't consider myself to be a very advanced Haskell
programmer, but
I could come up with a Mergesort that beats List.sort, time- and
spacewise.
http://hpaste.org/13403
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Günther Schmidt
what does it take to install Takusen on Win32 with Sqlite backend?
I did manage to install *plain* Takusen via cabal install by
downgrading
to Cabal-1.4 but when I want to
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Günther Schmidt
I understand that Takusen does not use unsafe calls and
would like to
try it with that one then, but haven't find enough docs yet
on how to use
Takusen.
Not a lot of
Currently, I'm experiencing what I would call strange behaviour:
I've got a data-type
data Fraction = Fraction Int Int
to hold rational numbers (maybe there's already some built-in
type for this in Haskell,
http://haskell.org/ghc/docs/latest/html/libraries/base/Data-Ratio.html
This
Am 19.12.2008 um 11:43 schrieb Paulo Tanimoto:
* an insect or animal: don't know which one, and I assume
that beetle
in the new book is trademarked by O'Reilly. Maybe something like
FalconNL's Monica Monad, but a little more serious.
Just as an idea:
How does reverse work in constant space? At the
moment I can't imagine
it doing so; that's why I tried it, but of course you
could be right.
It allocates a new list cell for every cell it finds in
the input list.
If the input list can be garbage
reverse creates the output list by pulling items from
the head of the
input list, and prefixing them to the output list.
Tail recursively! That is a very important point. Let's have
a closer look at an explicitly recursive version.
reverse xs = go [] xs
where
go out
(OT, but I'm hoping some of you might have some ideas on this anyway...)
I was wondering what alternative representations there are for graphs,
or maybe if there might be a way to derive one/some from some insightful
observations. For the purposes of storing and exmaining (querying)
graphs in an
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mauricio
I would like to sugest a new basic type in Haskell. What if we had
something like this (with any other quoting character):
«Je ne parle pas français. Meu nome é Maurício. ¿Hablas español?»
This would be of type
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas Davie
Much better efficiency in what way?
instead of going through many levels of tree/trie,
lookup function will just select array element by hash value
and look through a few elements in assoc list:
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Galchin, Vasili
Is
http://hackage.haskell.org/trac/ghc/wiki/GarbageCollectorNotes
a reliable source of info on the ghc garbage collector?
Depends which version of GHC... the next release (6.10) will include the
new
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Duncan Coutts
Sent: 17 July 2008 12:46
On Wed, 2008-07-16 at 22:45 -0300, Felipe Lessa wrote:
Hi,
I tried googling and searching the haskellwiki about this but wasn't
lucky enough. My question is: is there a way to send
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of phy51km4n
Why does that not work? :
fromTuple (One a) = a
fromTuple (Two a b) = (a, b)
fromTuple (Three a b c) = (a, b, c)
fromTuple (Four a b c d) = (a, b, c, d)
Have you tried it? What are the types of
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Henning Thielemann
I don't get an error. sqlplus is in $ORACLE_HOME/bin, but the
RPM package
also sets a link from /usr/bin/sqlplus to $ORACLE_HOME/bin,
thus 'sqlplus'
is in the $PATH also without $ORACLE_HOME. (But
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stephen Howard
the error:
renao.hs:6:4:
Couldn't match `HttpResponse' against `IO HttpResponse'
Expected type: IO HttpResponse
Inferred type: IO (IO HttpResponse)
In the expression: return $ (handler
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Henning Thielemann
There will be a talk on Fortress...
---
This e-mail may contain confidential and/or privileged information.
You send potentially confidential information to a public
mailing list?
I realise
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Richard A. O'Keefe
On 21 May 2008, at 9:25 am, Conal Elliott wrote:
I think the practice of constraint in type definitions is
generally
discouraged,
Is this true? If so, why?
If I have a data type that simply
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johan Tibell
I'm writing a web application server which I'm trying to make as
simple to manage as Mongrel [1], a popular Ruby web server used to
host web application written in e.g. Ruby on Rails. It uses Oleg style
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jean-Philippe Bernardy
* homepage: http://haskell.org/haskellwiki/Yi
Took a quick look around and saw this:
* GTK frontend works in Win32
So Yi works on Windows? hs-plugins was broken for Windows for a while,
so I'm
From: Thomas Schilling [mailto:[EMAIL PROTECTED]
So Yi works on Windows? hs-plugins was broken for Windows
for a while,
so I'm wondering if this has been fixed too. Does Yi use
hs-plugins, or
does it go straight down to ghc? (looking at the yi.cabal
file seems to
indicate no
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter
Verswyvelen
As a newbie I made a nice little program that called readFile
and writeFile on the same filename, but of course the file
handle of the readFile was not closed yet = access denied. A
nice case of getting
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Don Stewart
So you visit:
community.haskell.org
And submit your ssh public key, to allow you to log into
code.haskell.org
At the same time you can ask for a project account, which
will give you
space for a
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nicholls, Mark
The open case (as in OO) seems to be more like the Haskell class
construct, i.e. if new types declare themselves to be members
of a class
then they must satisfy certain constaintsI can then
specify equals
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nicholls, Mark
To recap...
type introduces a synonym for another type, no new type is
createdit's for readabilities sake.
Newtype introduces an isomorphic copy of an existing type...but
doesn't copy it's type class
From: Bayley, Alistair
newtype A a = A a
and
data A a = A a
Sorry, that should read:
newtype A = A a
data A = A a
*
Confidentiality Note: The information contained in this message,
and any attachments, may contain
From: Bayley, Alistair
Sorry, that should read:
newtype A = A a
data A = A a
Ignore that; I was right first time. Sorry 'bout the spam, and the lack
of brain.
*
Confidentiality Note: The information contained
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Derek Elkins
(Not directed at gwern in particular)
I have a better idea. Let's decide to do nothing. The
benefits of this
approach are: 1) it takes zero effort to implement, 2) the number of
people who immediately give up
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Galchin Vasili
I believe that HUnit has absolutely not other package
dependencies. When I do a runhaskell Setup.hs build, I get
the following error message: gcc: installation problem, cannot
exec `cc1': No such file or
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Duncan Coutts
On Thu, 2007-11-29 at 13:51 +1100, Tim Docker wrote:
Is it actually reasonable to expect any cabal packages that
depend on
external c libraries and headers to build out of the box on
windows? How
can
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Radoslaw Grzanka
Hi,
Is there any plugin system for haskell? For example, in Java, I can
load all compiled classes from given directory, check their interfaces
and run some methods through reflection etc. Is it possible in
| the php documentation has user contributed notes
| http://www.php.net/manual/en/introduction.php
| I think this is a very nice feature.
* Hardest of all: evolution. Both GHC's user manual and
library docs change every release. Even material that
doesn't change can get moved
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Justin Bailey
Well, I answered my own question. Unlike UNIX, specifying a library
without the leading lib causes the library to not be found. Not sure
if that's a GHC linking problem or what. Changing the library
requirement
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
This simple function definition that should rotate a list
(put the first
item in the last place) fails with a rather cryptic error with ghc:
f :: [a] -[a] -[a]
f (w : ws) = ws : w
Couldn't match expected type `[a] -
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of manu
Haskell is conspicuously absent from the languages used to tackle Tim
Bray's Wide Finder problem
(http://www.tbray.org/ongoing/When/200x/2007/10/30/WF-Results?updated).
So far we have Ocaml, Erlang, Python, Ruby, etc...
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Graham Fawcett
Is there a way to declare a 'toString' function, such that
toString x | x is a String = x
toString x | x's type is an instance of Show = show x
Perhaps, in the type system, there's a way to declare a
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Simon Marlow
x changes == API changed
x constant but y changes == API extended only
x and y constant == API is identical
Ordering on versions is lexicographic, given multiple
versions that satisfy a dependency
From: Simon Marlow [mailto:[EMAIL PROTECTED]
The lexicographical ordering would make 10.0 9.3. In
general, A.B C.D
iff A C or A == C B D. When we say the latest
version we mean
greatest, implying that version numbers increase with time.
Does that help?
Sort of. It's what
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Don Stewart
It was raised at CUFP today that while Python has:
...
Note its all about how it can help you.
The Haskell website has the rather strange motivational text:
...
Can't we embrace the power of
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter
Verswyvelen
I retrieved the latest version of YI, but I failed to compile
it for Windows (GHC 6.6.1, and I got alex-2.1.0, haddock-0.8,
HsColour, GTK, but not VTY)
Before even pasting the error log, is it supported
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Pasqualino 'Titto' Assini
I wondered if anyone could advice on how to develop XPCOM
components in Haskell.
I am aware that HDirect supports COM and that there are some
similarities with
XPCOM but I do not have the
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hugh Perkins
Not many replies on this thread? Am I so wrong that no-one's
even telling me? I find it hard to believe that if there
were obvious errors in the proposition that anyone would
resist pointing them out to me
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of peterv
However, one thing which I find annoying is that a classic
pure function cannot evaluate an IO function unless you use
unsafePerformIO; one must promote (?demote) the pure
function into the IO monad.
That's just a
I'd like to add a #ifdef to Takusen's Setup.hs, so that we can have a
single source file that will compile with ghc-6.6 and ghc-6.6.1. With
ghc-6.6 and Cabal-1.1.6.1 we use splitFileName and joinPaths from
Distribution.Compat.FilePath. With ghc-6.6.1 (which includes
Cabal-1.1.6.2) these have been
I noticed that in Takusen there're just two instances to implement to
make any Haskell type db-serializable: DBBind / SqliteBind for
serialization and DBType for deserialization.
I wanted to implement blob serialization for PackedStrings, but I
noticed that both DBBind and DBType classes
From: Salvatore Insalaco [mailto:[EMAIL PROTECTED]
The main reason is that I'm working on a Sqlite back-end for Darcs,
that will be used to store file contents.
I think to choose Takusen as back-end library mainly because it has
the blob functions of Sqlite already mapped.
Umm, yes... I
From: Salvatore Insalaco [mailto:[EMAIL PROTECTED]
2007/7/27, Bayley, Alistair [EMAIL PROTECTED]:
Also, in Sqlite 3.4, they introduced new functions for incremental
reading / writing of Blobs. I could use them in the future.
Seems reasonable. I recall Oleg saying something privately
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Donald
Bruce Stewart
andrewcoppin:
I don't know if anybody cares, but... Today a wrote some
trivial code to
decode (not encode) UTF-16.
I believe somebody out there has a UTF-8 decoder, but I
needed UTF-16 as it
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Donald
Bruce Stewart
Does anyone know why Takusen isn't on hackage yet? It appears to be
cabalised, and have a tarball:
http://hackage.haskell.org/packages/archive/pkg-list.html#cat:Database
From: Simon Marlow [mailto:[EMAIL PROTECTED]
http://darcs.haskell.org/takusen/Foreign/C/UTF8.hs
In that code you have:
| x = 0x0010 -- should be 0x001F
I wasn't aware that the largest unicode code point had
changed. Do you
have a reference? Should we change
Weird... I sent this over a month ago, and was a bit puzzled as to why
it didn't appear on the list. Has it been waiting for a moderator to
release?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alistair Bayley
Sent: 04 June 2007 09:44
To:
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stefan O'Rear
fromUTF8Ptr unboxes fine for me with HEAD and 6.6.1.
- the chr function tests that its Int argument is less than 1114111,
before constructing the Char. It'd be nice to avoid this test.
You want unsafeChr
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ???
help
haskell for web code
http://www.haskell.org/haskellwiki/Applications_and_libraries/Web_programming
Try a few of these out (whatever meets your needs). For web apps WASH and HAppS
seem popular. Feel free to ask the
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Simon Michael
Is there a type or library out there that's good for
representing money and
other quantities while avoiding rounding errors ?
I think Data.Fixed would be a good choice:
From: Brandon S. Allbery KF8NH [mailto:[EMAIL PROTECTED]
I was playing with that when your message came in:
mress:5003 Z$ cat foo.hs
import Data.Fixed
data E2 = E2
instance HasResolution E2 where
resolution _ = 100
type Money = Fixed E2
...
*Main :m +Data.List
*Main
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Simon
Peyton-Jones
There's a bit of a chicken-and-egg problem here; the COM
tools are not well maintained, so that discourages use, which
in turn makes it less rewarding to work on them. What I
don't know is the level
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel Fischer
I suppose in contrast to the version from HackageDB, which I
got myself on
monday, the darcs version works with ghc = 6.6, or I
probably would have
heard about it. So I'll try to get me that, only where?
[mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Zielonka
On Mon, Jun 18, 2007 at 10:05:40PM +0100, Pasqualino
'Titto' Assini wrote:
Most languages, even Java, have a reflection capability
to dynamically
inspect an object.
It is surprising that Haskell doesn't offer it.
I'll
[mailto:[EMAIL PROTECTED] On Behalf Of PR Stanley
Hi
Can you think of a fourth way of redefining disjunct using
pattern matching?
vee :: Bool - Bool - Bool
vee _ True = True
vee True _ = True
vee _ _ = False
How many ways do you want? I think this is correct, and is only strict
in the
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew Coppin
Donald Bruce Stewart wrote:
Some things to remember using Doubles:
* {-# OPTIONS -fexcess-precision #-}
* -fvia-C
* -fbang-patterns
* -optc-O2 -optc-mfpmath=sse -optc-msse2
* -optc-march=pentium4
1. What
[mailto:[EMAIL PROTECTED] On Behalf Of Donald
Bruce Stewart
3) -fbang-patterns
Better than `seq`
Better in the more convenient to write sense, right? AFAIUI, seq and
bang patterns should be equivalent.
Alistair
*
[mailto:[EMAIL PROTECTED] On Behalf Of Dougal Stanton
On 05/06/07, Claus Reinke [EMAIL PROTECTED] wrote:
(tested on ghc/compiler/stranal/StrictAnal.lhs):
Since when did GHC become NSFW?! :-O
/ducking and running...
Says more about you than anything else...
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Vincent Kraeutler
anyhow. if someone has a pedestrian's guide to the fixed point
operator lying around, a link would be much appreciated.
Just to add to the noise... I've always quite liked Richard Gabriel's
The Why of Y
Tomorrow evening's London Haskell User Group meeting has a reasonable
list of attendees (inferred from the comments):
http://www.londonhug.net/2007/04/26/announcement-first-meeting-of-the-lo
ndon-haskell-user-group/
I think it'd be a good idea to do what the BCS-SPA does, and maintain a
[this time to the list :-]
Should we start something here, perhaps?
http://www.haskell.org/haskellwiki/London_Haskell_User_Group/Events/2007
0426
Sounds a plausible idea, but shouldn't it be 20070523?
Jeremy
Yeah... sorry, I totally fished that date out of a body cavity. I think
it
I'm sure that I can quite reliably hit the command editor
keybindings I
use many, many times faster than if I had to select them
from a menu.
Note that the claimed time-consuming part is not to actually press the
keybinding, but to chose and remember which one to press.
Yes... except
1 - 100 of 201 matches
Mail list logo