At Sun, 26 Aug 2007 00:19:25 +0200,
=?UTF-8?Q?Rados=C5=82aw_Grzanka?= wrote:
It's funny. But 5 minutes ago I was thinking: did anyone compiled
haskell application for Palm (m68k and/or Arm) that runs on Palm OS?
I have looked into doing this in the past. Historically speaking, the
first
At Mon, 27 Aug 2007 17:04:17 +0200,
Peter Verswyvelen wrote:
In Scheme, on can quote code, so that it becomes data. Microsoft's F#
and C# 3.0 also have something similar that turns code into expression
trees. The latter is used extensively in LINQ which translates plain C#
code into SQL
At Wed, 26 Sep 2007 22:11:12 +0700,
Peter Gammie wrote:
Hello,
Does anyone have a library for sending email from a Haskell program?
I'd like something portable and cabalised.
I note there is code in darcs to send email on Windows and UNIX-y
systems, and also something in WASH (I
Hello,
Oleg, Chung-chieh Shan, and others have done some work close to this
area. On this page, see the Monads parameterized by time section:
http://okmij.org/ftp/Haskell/number-parameterized-types.html
Also see this page:
http://okmij.org/ftp/Haskell/types.html#ls-resources
The new type
At Sun, 21 Oct 2007 17:21:00 -0200,
Maurício wrote:
Brandon S. Allbery KF8NH escreveu:
On Oct 21, 2007, at 14:40 , Maurí cio wrote:
I like Haskell, and use it as my main
language. However, compiling a Haskell program
usually takes a lot of memory and CPU.
Last night I was
At Mon, 22 Oct 2007 14:45:51 -0400,
David F. Place wrote:
On Oct 22, 2007, at 2:26 PM, Jeremy Shaw wrote:
Hello,
If you have not seen this paper, you may enjoy it:
Modular Lazy Search for Constraint Satisfaction Problems (2001)
Thomas Nordin, Andrew Tolmach
http
At Mon, 19 Nov 2007 10:25:40 -0800,
brad clawsie wrote:
so far the haskell community has taken the cpan route for most
practical libs but i wonder if a batteries included approach might
help get some key libraries to a more complete state. in particular, i
would like to see support for basic
At Mon, 19 Nov 2007 23:18:58 -0200,
Felipe Lessa wrote:
If there aren't any libraries available, are there any
suggestions on how to create one?
I am not sure if a better way exists already, but here is how I would
do it if nothing better exists.
Creating a binding to the gettext library
At Mon, 19 Nov 2007 19:57:14 +,
Neil Mitchell wrote:
All these PDF's are produced from a standard Latex class file. For
all my papers I have the original source .tex files. I suspect
you'll have more luck going from the original .tex rather than the
PDF.
I would be especially neat if
At Mon, 19 Nov 2007 21:25:23 +,
Andrew Coppin wrote:
If you were going to implement Tetris in Haskell, how would you do it?
(For that matter, has anybody already *done* it? It would probably make
a nice example program...)
A minimal openGL haskell tetris clone:
At Wed, 21 Nov 2007 12:10:38 +0100,
Peter Verswyvelen wrote:
Yes, but why don't researchers just publish their TEX file? You can
regard that as the source code for generating PDF/PS whatever no?
Yes. but things have a way of getting lost. The primary advantage to
embedding the data is you
At Thu, 10 Jan 2008 17:22:02 -0200,
Maurício wrote:
Hi,
Is it possible not to load Prelude module
when compiling a Haskell module? Or instruct
ghc to “unload” it?
You can either do:
import Prelude()
or compile with the -fno-implicit-prelude flag, or add
{-# LANGUAGE NoImplicitPrelude
Hello,
I would really like to modify happstack so that you can specific what IP
address to listen on.
So I think I want a function like:
listenOnAddr :: SockAddr - IO Socket
The problem is that the user might want to specify IPv4 or IPv6 address. But
support for IPv6 is only conditionally
Neat! I have been wondering how to do that. It is also useful if you want to
run multiple happstack applications on the same machine, but each on a
different IP address.
It would be awesome if this was wrapped up in a more obvious way. I imagine
we would extend the Conf type so that you could
Hello,
There are a number of libraries like syb-with-class, happstack-data, etc,
which provide a new class that potentially has a lot of new instances.
For example, let's say I want a 'Data ctx Text' instance. Where should that
go?
To avoid orphan instances it would need to go in the 'text'
sloppiness probably. If you submit a patch that adds an instance I will
apply it.
That said, I am not sure it is going to solve your particular problem.
simpleHTTP requires something that is an instance of ToMessage. ToMessage is
a class that turns values into a Response. It happens that
One study suggests that the perceived work environment is too geeky:
http://www.msnbc.msn.com/id/34437233/ns/technology_and_science-science/
I also suspect that much Haskell promotion is targeted towards male oriented
sites, which does not help things:
http://www.quantcast.com/slashdot.org
On a related note,
I wanted to find out what version of parsec is included in the platform, but
that version is not included on this page:
http://hackage.haskell.org/platform/contents.html
The package links just say 'parsec' and link to the lastest version on
hackage.
- jeremy
On Mon, Mar 22,
Hello,
I keep running into issues where I want to use some version of parsec,
quickcheck, haxml, etc, in my code, but my code links against a different
third party library (e.g. network) which uses a different version of the
library (e.g., parsec) than what I want to use, and that makes cabal
Hello,
I have some input which is divided up into segments like this:
[foo, hi, there, world]
And I want to use parsec to parse the segments. I am looking for a way to be
able to use Char parsers on each segment, but also parse the list of
segments as a whole.
I have an implementation which
ivan.miljeno...@gmail.com wrote:
Jeremy Shaw jer...@n-heptane.com writes:
I keep running into issues where I want to use some version of parsec,
quickcheck, haxml, etc, in my code, but my code links against a
different
third party library (e.g. network) which uses a different version
Hello,
I've been thinking a lot recently about the direction and future of the
Happstack project.
These days we hear a lot about technologies to allow servers to push data,
such as Comet, Ajax Push, Reverse Ajax, Two-way-web, HTTP Streaming, and
HTTP server push among others. HTML 5 includes
How about:
http://www.cse.unsw.edu.au/~dons/h4sh.html
It brings a lot of familiar Haskell functions to the command-line. And *is*
actually written in Haskell ;)
- jeremy
On Wed, Mar 31, 2010 at 6:05 PM, Patrick LeBoutillier
patrick.leboutill...@gmail.com wrote:
Hi all,
I've been studying
(apparently required), and hsplugins won't build with 6.12.1.
Bob
On 1 Apr 2010, at 15:41, Jeremy Shaw wrote:
How about:
http://www.cse.unsw.edu.au/~dons/h4sh.html
It brings a lot of familiar Haskell functions to the command-line. And *is*
actually written in Haskell ;)
- jeremy
On Wed, Mar
On Thu, Apr 1, 2010 at 10:59 AM, Gwern Branwen gwe...@gmail.com wrote:
On Thu, Apr 1, 2010 at 11:13 AM, Jeremy Shaw jer...@n-heptane.com wrote:
fps is what we now call bytestring. Alas, hsplugins is dead. hsplugins is
useful, but needs to be rewritten for modern GHC :(
- jeremy
I never
Hello,
Does trying to install hsp-0.5.1 work any better?
- jeremy
On Apr 26, 2010, at 12:27 PM, Alexander Solla wrote:
On Apr 23, 2010, at 2:59 PM, Thomas Hartman wrote:
So, you might need to
-- upgrade hsx
-- make sure that the upgraded trhsx executable is the one being
executed by cabal
Hello,
I would recommend:
darcs get --lazy http://patch-tag.com/r/mae/happstack
cd happstack
chmod +x bin/build-install-all.sh
./bin/build-install-all.sh
This should install the latest version of happstack from darcs which
resolves most install problems. I intend to release it any minute
(Note: Reply-to is set to haskell-cafe@haskell.org)
Hello,
I am very pleased to announce Happstack 0.5.0. It should install
cleanly from hackage via:
cabal install happstack
If it does not, please report errors to the happstack mailing list:
http://groups.google.com/group/HAppS
(You
On May 3, 2010, at 3:19 PM, Mads Lindstrøm wrote:
Hi
Pressing documentation-link here http://happstack.com/index.html I
still
get the 0.4.1 version.
Yeah, that is updated now. Made the announcement, before I had really
finished everything. Sorry about that.
-
Hello,
I am pleased to announce the availability of happstack-hamlet:
http://hackage.haskell.org/package/happstack-hamlet
http://patch-tag.com/r/mae/happstack/snapshot/current/content/pretty/happstack-hamlet
Happstack is a web application development framework.
Hamlet provides HTML templates
Hello,
Seems that happstack-util had an artificially low upper bounds. I just
uploaded happstack-util 0.5.0.1 which bumps it to parsec 4.
Make sure that your version of the 'network' library is compiled
against parsec 3, since happstack-server depends on both network and
parsec.
On May 4, 2010, at 11:20 PM, Michael Snoyman wrote:
Hey Jeremy,
I see below that you included the experimental WAI support. I'm
excited to try it out, but I don't see it in happstack-server (maybe
I'm blind). Could you point it out?
Hello,
I should have been more explicit about this,
On May 5, 2010, at 8:01 AM, Michael Snoyman wrote:
alas, there is no happstack-wai specific demo at the moment. But, if
there was, it would look a lot like a normal happstack-server app...
It wouldn't look like a normal WAI app? If you want something like
that, Simon Hengel wrote a nice
Hello Chicago People!
The Chicago Haskell Users Group will be meeting this Tuesday, May 11,
at 7PM at The Grafton.
Say goodbye to Tom Tobin (our founder), and hello to Haskell world
domination!
The Grafton is in Lincoln Square next to the Old Town School of Folk
Music, close to the Western
I updated happstack-hamlet 0.2.1. Just had to update the example, and
bump the version bounds.
- jeremy
On May 8, 2010, at 5:29 PM, Michael Snoyman wrote:
Hi all,
I'm happy to announce the second major release of Hamlet[1]. Hamlet
is a HTML templating library which works via
Hello,
I am trying to understand why I am getting an ambigious type variable error,
and what I can do to work around it. The problem is occurring while trying
to use syb-with-class, but I have stripped it down to it's bare essentials,
so the following code is self-contained, and does not require
A (hopefully) non-cropped version of the chart, http://tinyurl.com/2cl42js
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hello,
HSP does not use xhtml or any other library internally.
The trhsx pre-processor turns this:
bigTable :: [[Int]] - String
bigTable t = renderAsHTML $ evalIdentity $
table
% mapM (\r - tr% mapM (\d - td% show d %/td) r %/tr) t %
/table
into:
bigTable :: [[Int]] - String
{-#
Hello,
I am using Data.ByteString.Lazy.hPut to write data to a network
socket. Is there any portable way to have hPut timeout if no data has
been sent after some time period (say 120s?).
I know that some OSes provide a per socket timeout that I can set in
my application code (instead of
Perhaps it was only listening on IPv6 ? ::1 ?
- jeremy
On Thu, Jun 3, 2010 at 10:30 PM, aditya siram aditya.si...@gmail.comwrote:
Hi all,
I had an issue where using the connectTo [1] function would fail to
connect to localhost if my wireless card was turned off. The moment
I turned on my
I don't really see this listed on your list, but maybe I missed it.
Happstack has been affected by QuickCheck 1 - QuickCheck 2, parsec 2
- 3, and HaXml 1.13 - 1.20.
Those packages are common, and people often want to use happstack with
other libraries that also use those packages. The problem is
On Tue, Jun 8, 2010 at 7:06 PM, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
I recall having a discussion with either you or someone else from the
happstack team about why it isn't applicable there, but the QuickCheck
problem can be solved in the general case by having its dependency
Hello,
My idea for solving this problem was to try to use something similar
to a kd-tree. I have a proof of concept for 2 keys here:
http://src.seereason.com/haskell-kdmap/
But, to extend it to an arbitrary number of keys may need template
haskell.
The basic concept is to build a
On Jun 29, 2010, at 6:02 AM, Stephen Tetley wrote:
Hi Michael
Good names are a problem of course.
The Applicative Programming with Effects Paper has the monodial
accumulating applicative instance on a sum type Conor McBride and
Ross Paterson call Except:
data Except err a = OK a | Failed err
I use Haskell for everything. In fact, I will be approaching my 10
year anniversary of using Haskell as my primary development language
soon.
The only area I have had any trouble with Haskell is doing realtime
music synthesis. And only because the garbage collector is not
realtime friendly. That
At Tue, 27 Jun 2006 20:36:30 +0100,
Brian Hulley wrote:
What about words like 'hour' and 'honest'?
Don't forget honor.
So I'd say these two words are closely related, so the search is still on
for another word with silent 'h' not related to time or integrity.
How about heir? Also, until
At Tue, 11 Jul 2006 19:28:13 +0400,
Bulat Ziganshin wrote:
Hello Haskell,
what is a best way to bring C constant (defined in header file) into
the Haskell source?
If this ^^^ was your entire question, I would say, use hsc2hs.
At Wed, 12 Jul 2006 10:57:54 -0700,
Chad Scherrer wrote:
[1 multipart/alternative (7bit)]
[1.1 text/plain; ISO-8859-1 (7bit)]
Hi,
I'm interested in attending the Hackathon, but I don't have any previous
experience working on compilers.
Perhaps we should start a list of pre-session
At Wed, 26 Jul 2006 23:07:36 +0200,
Udo Stenzel wrote:
What does Emacs do with double separators? I'm at a loss thinking of
anything they could denote, but it could be useful.
You mean like,
/path/to/somewhere//with/double/seperator
If so, it treats it as if you had typed in:
At Sat, 29 Jul 2006 14:07:51 -0400,
Brian Sniffen wrote:
I'm very excited by the ability to pass functions or IO actions
between threads of the same program. But I don't see any language or
library support for doing so between programs, or between sessions
with the same program.
There is
At Tue, 5 Sep 2006 03:03:51 + (UTC),
John Goerzen wrote:
I have the below program, and I'm trying to run it on an input of about
90MB. It eats RAM like crazy, and I can't figure out why.
I have not looked in detail at your code -- but it could simply be the
fact that String requires gobs
At Mon, 04 Sep 2006 22:05:57 -0700,
Jeremy Shaw wrote:
At Tue, 5 Sep 2006 03:03:51 + (UTC),
John Goerzen wrote:
I have the below program, and I'm trying to run it on an input of about
90MB. It eats RAM like crazy, and I can't figure out why.
If you fold a Data.Map or associative
At Wed, 13 Sep 2006 15:24:39 +0400,
Bulat Ziganshin wrote:
because REAL code is somewhat larger than examples. try to rewrite the
following:
directory_blocks - (`mapM` splitBy (opt_group_dir command)
files_to_archive)
( \filesInOneDirectory - do
datablocks - (`mapM`
Hello,
According to this page:
http://www.cs.york.ac.uk/fp/HaXml/HaXml/Text-XML-HaXml-Wrappers.html
processXmlWith is used to apply a filter to an existing XML
document. By default, it will try to read the input document from
stdin. So, I am imagine that is what it is doing -- sitting their
Hi,
In this case, the stack overflow you are seeing is due to laziness not
tail recursion.
Because you never demand the value of any element in the list, Haskell
never bothers to calculate it. So you have a list that looks like:
[ i, i - 1, (i - 1) - 1, ((i - 1) - 1 - 1), .. ]
So, by the
At Fri, 05 Jan 2007 17:58:14 -0800,
Jeremy Shaw wrote:
Because you never demand the value of any element in the list, Haskell
never bothers to calculate it. So you have a list that looks like:
[ i, i - 1, (i - 1) - 1, ((i - 1) - 1 - 1), .. ]
I should clarify that this is the list
At Fri, 05 Jan 2007 20:59:16 -0800,
Mike Gunter wrote:
pps. I didn't explain why [1..100] works, but [1..] fails, because
I don't know :) It's a bit suprising to me...
With [1..100], the generated values have to be tested against
100 as you go. So, they get evaluated.
At Sat, 6 Jan 2007 15:41:37 -0800,
Stefan O'Rear wrote:
On Sat, Jan 06, 2007 at 03:30:56PM -0800, tphyahoo wrote:
I'm having trouble installing ghc 6.6. On ubuntu, virtual server (user mode
linux).
Is it repeatable? i.e. If you run 'make' again, do you get the same error at
the same
At Fri, 26 Jan 2007 07:23:26 -0800,
David Roundy wrote:
I would think that what we'd want to benchmark would be clean, optimized
actually-used code.
Maybe there should be two versions of each benchmark:
1) an clean, simple, idiomatic version, aka the code we would like to
write if
Hi,
I was working in embedded development, writing lots of C code. My
primary tool for debugging things was turning an LED on or off. So, I
became quite interested in figuring out how to write code with less
bugs.
After some searching, I found lclint, (now knows as splint:
At Mon, 26 Feb 2007 07:54:56 +1000,
Tony Morris wrote:
[1 multipart/signed (7bit)]
[1.1 text/plain; ISO-8859-1 (quoted-printable)]
I have a backtracking algorithm that I need to memoise with. Rather than
go into the intricacies of the algorithm, I figure (and hope) the
factorial function
Hello,
If my sources are to be believed, the following clip contains Simon
Peyton Jones saying 'Haskell' several times.
http://www.n-heptane.com/nhlab/spj-haskell.wav
j.
At Tue, 29 Jan 2008 08:28:44 +0800 ,
[EMAIL PROTECTED] wrote:
[1 multipart/alternative (7bit)]
[1.1 text/plain; gbk
At Mon, 28 Jan 2008 17:06:58 -0800,
Tim Chevalier wrote:
I should really read more carefully -- I see now that you weren't
trying to disagree with me by posting that clip, but the person who
*did* disagree with me was also named Jeremy. How confusing.
tehehe.
For the record, I believe I
Hello,
I get funny results when I call getSymbolicLinkStatus in ghc 6.8.2 on
Ubuntu 7.10. This happens on several systems and has been confirmed by
other people. Though, some people on almost the exact same system
claimed to not see it at all. Here is an interactive example with
ghci, note how
Created a ticket with a patch:
http://hackage.haskell.org/trac/ghc/ticket/2093
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hello,
You rule!
Here is where I am at now. It seems that when I build ghc from source,
the top level configure script detects that my system has large file
support, and enables it. As you discovered, this gets dumped into:
/usr/lib/ghc-6.8.2/include/ghcautoconf.h
which gets included when
At Mon, 18 Feb 2008 01:26:17 +,
Luke Palmer wrote:
I have an immature, but precise and picky implementation that renders text in
a ttf font to an OpenGL texture (using SDL-ttf) here:
http://svn.luqui.org/svn/misc/luke/work/code/haskell/frp/Fregl/Draw.hs
(It may have some dependencies in
At Fri, 22 Feb 2008 15:13:46 -,
Claus Reinke wrote:
i got the impression that accessing freetype2 via ftgl
might make things slightly easier, while also offering
more options (geometry instead of texture fonts), or
did I misread?
http://ftgl.wiki.sourceforge.net/
It appears to be
At Mon, 10 Mar 2008 22:11:33 +,
Paulo J. Matos wrote:
I would like to know if in fact there's any difference in practice
between (), [()], i.e. if in practice the difference matters.
Well, you could do something like this:
outputLines :: Int - IO [()]
outputLines i = mapM (putStrLn .
At Tue, 18 Mar 2008 09:41:15 -0700,
Justin Bailey wrote:
From a recent interview[1] with the guy leading Ruby development on
.NET at Microsoft:
You spend less time writing software than you spend maintaining
software. Optimizing for writing software versus maintaining software
is
Hello,
Sadly, as others have pointed out, [0..] is not an infinite list in
that context, so nothing too exciting is happening. You can making
something almost exciting happen if you define some Peano numbers:
data P = Z | S P
inf = S Z
[bunch of class instances skipped]
main = print $
Hello,
You *can* get things out of the IO monad with:
System.IO.Unsafe.unsafePerformIO :: IO a - a
but, in almost all cases you shouldn't. The name 'unsafe' is there for
a reason :)
The IO monad does not explicitly contain any state -- it's entire
purpose is to ensure that operations which can
At Thu, 29 May 2008 19:19:48 -0700,
Thomas Hartman wrote:
It did finish, but I still feel like this took too long.
Facebook does take several minutes to compile and consumes quite a bit
of memory while doing it. If you machine does not have atleast 1GB of
memory it could be thrashing due to
Malcolm Wallace wrote:
The original Binary library, circa 1998, was based on bit-streams rather
than bytes. You might be able to dig up a copy and bring it back to
life.
This derivative (by Hal Daume III) works with GHC 6.8.2 (I haven't tried 6.8.3):
based
systems.
Jeremy Shaw had ghc targeting the nokia last year, iirc.
Perhaps he'll have more info.
-- Don
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
At Tue, 24 Jun 2008 20:43:45 -0400,
Braden Shepherdson wrote:
I recently acquired the ARM-based Nokia N810 (and 3 it), powered by
Maemo. Running a uname -a on it:
I might be one to attempt this, as I know C and ARM-ish asm decently
well and have a powerful desktop to compile on. I have no
At Fri, 27 Jun 2008 09:57:29 +1000,
Jeremy Apthorp wrote:
Next year I'll be working on a project for my undergraduate computing
course at UNSW that will involve getting GHC to target the Nintendo
DS. It'll require cross-compilation, because the DS isn't powerful
enough to actually run GHC (4M
Also,
I have successfully run hugs on the Nokia N770.
j.
At Sat, 28 Jun 2008 22:39:00 +0100,
Malcolm Wallace wrote:
Just a random note. jhc works fine on ARM,
Another semi-random note: nhc12 and nhc13 (precursors to nhc98) were
originally developed on an ARM with 2Mb of memory, way
At Wed, 2 Jul 2008 11:16:18 -0700,
Greg Fitzgerald wrote:
Would anybody be interested in a GHC on ARM Hackathon in San Diego this
year?
Definitely. (Conveniently, I live in La Jolla).
When is 6.10 estimated to come out? Do we really need to wait for it?
According to this Release plan, the
Hello,
I am not sure about the full answer to your qusetion, but I do know
that template haskell support in haskell-src-exts is currently broken,
but supposedly easy to fix. Not sure if that will give you the
features you need or not though.
From this thread:
Sweet!
What are the chances of seeing a, instance Data Text, some day? text
would be a great type to use with Happstack, because it is far more
memory efficient than String. But it is difficult to do that with out
a instance of Data.
For the time being, I have been hacking it with:
, Jeremy Shaw jer...@n-heptane.com
wrote:
What are the chances of seeing a, instance Data Text, some day?
I might as well follow up here, since I've sent Jeremy a couple of
messages on this subject.
I think maybe someone else will have to take a crack at a Data
instance for Text, because
oops, for the sake of completeness you also need:
textType = mkStringType Data.Text
- jeremy
On Oct 9, 2009, at 10:33 AM, Jeremy Shaw wrote:
Sweet!
What are the chances of seeing a, instance Data Text, some day? text
would be a great type to use with Happstack, because it is far more
This looks like what is described in Section 4 to me:
http://www.haskell.org/haskellwiki/Applicative_functor#Applicative_transfomers
- jeremy
On Oct 12, 2009, at 11:22 AM, Kim-Ee Yeoh wrote:
** :: (Applicative m, Applicative n) =
m (n (a-b)) - m (n a) - m (n b)
There are many ways you can do it. Here are two. The first uses the
Transform List Comp extensions introduced in 6.10.
http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html#generalised-list-comprehensions
The second uses more normal Haskell. The second version is probably
Formlets are not Monads.
http://www.haskell.org/haskellwiki/Formlets
If you tried, you could actually implement a Monad instance for
Formlets, but it would lead to very undesirable behavior. Specially,
if a field in the form failed to validate, then the rest of the form
would not be
There is a partial binding to libgd:
http://hackage.haskell.org/packages/archive/gd/3000.4.0/doc/html/Graphics-GD.html
http://www.libgd.org/Main_Page
But GD itself may not do what you want.
- jeremy
On Nov 8, 2009, at 8:34 AM, Max Rabkin wrote:
Haskellers,
To add image support to
I have the following program which loops under GHC 6.10.4:
http://www.hpaste.org/fastcgi/hpaste.fcgi/view?id=13561#a13561
{-# LANGUAGE DeriveDataTypeable, FlexibleInstances,
MultiParamTypeClasses, UndecidableInstances #-}
module Main where
import qualified Data.Data as Data
import
Hello,
See this thread,
http://groups.google.com/group/happs/browse_thread/thread/6e4d6af0109cc649
- jeremy
On Dec 3, 2009, at 9:30 AM, Roel van Dijk wrote:
I noticed that happstack.com and tutorial.happstack.com are both equal
to patch-tag.com. Google's cache has the original pages. Is
I have stripped things down to the bare minimum, and test under GHC
6.10, GHC 6.12, Linux, and Mac OS X. Results are consistent.
In the following code,
1. if you load the code into ghci and evaluate e it will hang, but
(defaultValueD dict) :: Expression returns fine
2. if you change the
Happstack 0.4.1 STABLE is now available.
We recommend that all users of Happstack update to 0.4.1
immediately. Migration from Happstack 0.3 should be trivial. There was
one race condition in happstack-state which could cause a state event
to fail under heavy congestion.
Happstack is the Haskell
What reasons do people have to use a BSD license over a Public
Domain license, for example with the license text from: http://www.lemur.com/pd-disclaimers.html
? Is the only difference that, with a BSD license, the copyright
notice must be maintained?
I've heard rumors that you can't
Hello,
Happstack is currently bundled with it's own lazy I/O based HTTP
backend. Ideally, we would like to split that out, and allow happstack
to be used with that backend, hyena, or other options.
A primary using for using hyena would be for the benefits of
predictability and constant
of a few ways (cache gziped
versions to the disk), but was wondering if you'd already come up
with a good solution. I'm trying to keep all these things in mind
when designing WAI.
Thanks,
Michael
On Thu, Jan 14, 2010 at 5:42 PM, Jeremy Shaw jer...@n-heptane.com
wrote:
Hello,
Happstack
Hello,
Would it be possible to get a Data instance for Data.Text.Text? This would
allow us to create a Serialize instance of Text for use with happstack --
which would be extremely useful.
We (at seereason) are currently using this patch:
On Sat, Jan 23, 2010 at 7:57 AM, Neil Mitchell ndmitch...@gmail.comwrote:
No, that's definitely not correct, or even remotely scalable as we
increase the number of abstract types in disparate packages.
Yes.. happstack is facing another aspect of this scalability issue as well.
We have a
On Jan 23, 2010, at 10:52 AM, Michael Snoyman wrote:
Jeremy,
What I meant is, if you use a sendfile system call to send raw files
from the disk, how does this interact with gzip compression, which
clearly cannot be used when using a sendfile call? I ask because you
implied there were
On Sun, Jan 24, 2010 at 5:49 AM, Neil Mitchell ndmitch...@gmail.com wrote:
Hi,
The problem with Data for Text isn't that we have to write a new
instance, but that you could argue that proper handling of Text with
Data would not be using a type class, but have special knowledge baked
in to
2010/1/26 José Pedro Magalhães j...@cs.uu.nl
Hi Jeremy,
As Neil Mitchell said before, if you really don't want to expose the
internals of Text (by just using a derived instance) then you have no other
alternative than to use String conversion. If you've been using it already
and performance
? For happstack-data, I think we only need
dataTypeOf.
The instance I posted before definitely did not have valid toConstr /
gunfold instances, so I think we would have noticed if we were actually
trying to use them..
- jeremy
On Fri, Jan 22, 2010 at 4:24 PM, Jeremy Shaw jer...@n-heptane.com wrote:
Hello
1 - 100 of 357 matches
Mail list logo