Hi.
I do not know why, my ghc 7.2.1 does not seem to support
DeriveRepresentable. I compiled the ghc 7.2.1 myself by ghc 7.0.4. All
options default.
$ ghc Types/TopTalkerRecord.hs
Types/TopTalkerRecord.hs:2:14:
Unsupported extension: DeriveRepresentable
There's no extension of that
On 1 November 2011 16:07, Magicloud Magiclouds
magicloud.magiclo...@gmail.com wrote:
Hi,
I do not know why, my ghc 7.2.1 does not seem to support
DeriveRepresentable. I compiled the ghc 7.2.1 myself by ghc 7.0.4. All
options default.
$ ghc Types/TopTalkerRecord.hs
On Mon, Oct 31, 2011 at 2:14 AM, Ketil Malde ke...@malde.org wrote:
Hi,
I just upgraded my server, and set up everything again. Except
wordpress, as 1) I'm not too fond of its user interface, and 2) it's a
big pile of PHP, difficult to keep updated, and basically a disaster
waiting to
On Tue, Nov 1, 2011 at 5:03 AM, Ryan Newton rrnew...@gmail.com wrote:
Any example code of using hscassandra package would really help!
I'll ask my student. We may have some simple examples.
Also, I have no idea as to their quality but I was pleasantly surprised to
find three different
We use all three (in various ways as they have arrived on the scene over time)
in production systems.
On 1 Nov 2011, at 02:03, Ryan Newton wrote:
Any example code of using hscassandra package would really help!
I'll ask my student. We may have some simple examples.
Also, I have no
Word of caution
Understand the semantics (and cost profile) of the AWS services first - you
can't just open a HTTP connection and dribble data out over several days and
hope for things to work. It is not a system that has that sort of laziness at
its heart.
AWS doesn't supply a traditional
Hi
On Thu, Oct 27, 2011 at 08:02:58PM +0300, Konstantin Litvinenko wrote:
Having program 'foo' depends on lib 'bar' I want to edit some files
in 'bar' than build 'foo' and get 'bar' rebuilt and 'foo'
rebuilt/relink.
How can I do this?
I use cabal-dev [1] along with the react tool [2]. The
LDTA 2012 Call for Papers
12th International Workshop on
Language Descriptions, Tools, and Applications
www.ldta.info
Tallinn, Estonia
March 31 April 1, 2012
On Tue, Nov 1, 2011 at 10:53 AM, Neil Davies
semanticphilosop...@gmail.comwrote:
Word of caution
Understand the semantics (and cost profile) of the AWS services first -
you can't just open a HTTP connection and dribble data out over several
days and hope for things to work. It is not a
Yitzchak Gale g...@sefer.org writes:
Gregory Crosswhite wrote:
could [Hackage] have a feature where when a
working package breaks with a new version of
GHC the author is automatically e-mailed?
This would be nice. However, there would have to be
a way for it to be turned on and off by the
On Tue, Nov 1, 2011 at 1:59 PM, Andres Löh andres.l...@googlemail.com wrote:
Hi.
I do not know why, my ghc 7.2.1 does not seem to support
DeriveRepresentable. I compiled the ghc 7.2.1 myself by ghc 7.0.4. All
options default.
$ ghc Types/TopTalkerRecord.hs
Types/TopTalkerRecord.hs:2:14:
Oh, right, I see that some things on that page need updating; I'll do so.
Thanks,
Pedro
On Tue, Nov 1, 2011 at 09:33, Magicloud Magiclouds
magicloud.magiclo...@gmail.com wrote:
On Tue, Nov 1, 2011 at 1:59 PM, Andres Löh andres.l...@googlemail.com
wrote:
Hi.
I do not know why, my ghc
Hi,
I have code as following, to make a toDocument function (using
Data.Bsin.=:) for a data structure.
bson :: DecsQ - DecsQ
bson decsq = do
decs - decsq
let datad = head decs
DataD _ _ _ cons _ = datad
to = mkName toDocument
from = mkName fromDocument
fund - mapM (\con
On 1 November 2011 03:43, Alexander Kjeldaas
alexander.kjeld...@gmail.com wrote:
On 31 October 2011 17:22, Yitzchak Gale g...@sefer.org wrote:
Gregory Crosswhite wrote:
could [Hackage] have a feature where when a
working package breaks with a new version of
GHC the author is
On 1 November 2011 09:00, Ketil Malde ke...@malde.org wrote:
This is where it stranded the last time, IIRC. That sentiment makes me
a bit uneasy; so you are the official maintainer of a package on
Hackage, but you do not want to hear about it when it fails to compile?
Don't forget that some
On Tue, Nov 1, 2011 at 09:43, Conrad Parker con...@metadecks.org wrote:
On 1 November 2011 03:43, Alexander Kjeldaas
alexander.kjeld...@gmail.com wrote:
On 31 October 2011 17:22, Yitzchak Gale g...@sefer.org wrote:
Gregory Crosswhite wrote:
could [Hackage] have a feature where when a
I wrote:
This would be nice. However, there would have to be
a way for it to be turned on and off by the author.
(Spam is not nice.)
Ketil Malde wrote:
This is where it stranded the last time, IIRC. That sentiment makes me
a bit uneasy; so you are the official maintainer of a package on
Max Bolingbroke batterseapo...@hotmail.com writes:
This is where it stranded the last time, IIRC. That sentiment makes me
a bit uneasy; so you are the official maintainer of a package on
Hackage, but you do not want to hear about it when it fails to compile?
Don't forget that some packages
On 1 November 2011 10:14, Ketil Malde ke...@malde.org wrote:
So, I'd *love* to get an email when my packages fail to build, but I will
accept that other people have a more sensitive relationship with their
inbox. (I assume that the people who raise this objection - Max
and Yitzchak - belong
On Tue, Nov 1, 2011 at 06:14, Ketil Malde ke...@malde.org wrote:
Max Bolingbroke batterseapo...@hotmail.com writes:
This is where it stranded the last time, IIRC. That sentiment makes me
a bit uneasy; so you are the official maintainer of a package on
Hackage, but you do not want to hear
Yitzchak Gale g...@sefer.org writes:
I am just a little worried that if uploading to Hackage
requires agreeing to unlimited uncontrollable
spamming by a bot,
The bot would, of course, be implemented in Haskell. Anybody who still
worries about bugs, is free to implement a better one in Agda.
2011/11/1 Ryan Ingram ryani.s...@gmail.com:
For example, I would love to be able to use the arrow syntax to define
objects of this type:
data Circuit a b where
Const :: Bool - Circuit () Bool
Wire :: Circuit a a
Delay :: Circuit a a
And :: Circuit (Bool,Bool) Bool
Or
On 1 November 2011 21:35, Ketil Malde ke...@malde.org wrote:
or even
Maintainer: Ketil Malde ketil at malde dot org -- email me if you are
human
Though unless the hackage email bot is smart enough, this will result
in a lot of unsendable emails...
--
Ivan Lazar Miljenovic
On 1 November 2011 21:35, Ketil Malde ke...@malde.org wrote:
or even
Maintainer: Ketil Malde ketil at malde dot org -- email me if you
are human
Though unless the hackage email bot is smart enough, this will result
in a lot of unsendable emails...
But the bot is not a human, so that's
How about to a new optional Cabal field like mail-report? (don't bother
about this name, I chose it randomly)
If a build failure happens, or there is some relevant information about
your package, Hackage will send a mail to the direction specified in that
field. A field which content will NOT
On 2011-11-01 12:59 +0100, Daniel Díaz Casanueva wrote:
How about to a new optional Cabal field like mail-report? (don't bother
about this name, I chose it randomly)
If a build failure happens, or there is some relevant information about
your package, Hackage will send a mail to the
On Tue, Nov 1, 2011 at 08:24, Nick Bowler nbow...@elliptictech.com wrote:
On 2011-11-01 12:59 +0100, Daniel Díaz Casanueva wrote:
How about to a new optional Cabal field like mail-report? (don't bother
about this name, I chose it randomly)
Doing anything like this in the .cabal file is a
Then, the mailing list seems to be an option. But then I will receive mails
for every package, and there is a lot of packages! Is not a lot of mails
this? There is another work around?
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Daniel Díaz Casanueva writes:
How about to a new optional Cabal field like mail-report? (don't bother
about this name, I chose it randomly)
If a build failure happens, or there is some relevant information about your
package, Hackage will send a mail to the direction specified in that
On Nov 1, 2011 8:45 PM, Daniel Díaz Casanueva dhelta.d...@gmail.com
wrote:
Then, the mailing list seems to be an option. But then I will receive
mails for every package, and there is a lot of packages! Is not a lot of
mails this? There is another work around?
Nobody would read every build
On Mon, Oct 31, 2011 at 5:33 PM, Ryan Ingram ryani.s...@gmail.com wrote:
For example, I would love to be able to use the arrow syntax to define
objects of this type:
data Circuit a b where
Const :: Bool - Circuit () Bool
Wire :: Circuit a a
Delay :: Circuit a a
And ::
On Mon, Oct 31, 2011 at 3:19 PM, John Lask jvl...@hotmail.com wrote:
On 1/11/2011 1:35 AM, Captain Freako wrote:
you need to study ArrowLoop and understand that.
Thanks, John.
I'm working my way through Hughes' suggested exercise in `Programming
with Arrows', to wit:
The reader who finds
Hello all,
I want to have a web application using one 'index.html' file with ajax requests
and a happstack web server which response to server requests.
For that purpose I need to use some javascript libraries in my directory tree.
I tried:
main = simpleHTTP nullConf $ msum [ serveFile
Hi Gary,
A convention I use in my top-level handler is:
simpleHTTP nullConf $
msum
[ dynamic content handler
, serveDirectory DisableBrowsing [] static
, 404 handler
]
where 'serveDirectory' is a function that ships with happstack-server
and
Hey Antoine,
thank you for answering. Your strategy is quite similar to the one I
prefer. I misunderstood the behaviour of serveDirectory. The problem
with external javascript files is solved.
The other problem I had, was, that the argument 'msum' is a list, which
has elements with the same
Hi all,
I have recently switched one of my web applications to SQLite via HDBC. I use
it to store some user credentials and data. Initially it seemed to work fine,
until I tried logging in from two different browsers. That's when I got the
following error when trying to log in:
SqlError
Including list.
-- Forwarded message --
From: Antoine Latter aslat...@gmail.com
Date: Tue, Nov 1, 2011 at 11:33 AM
Subject: Re: [Haskell-cafe] happstack file serving
To: Gary Klindt gary.kli...@googlemail.com
On Tue, Nov 1, 2011 at 11:24 AM, Gary Klindt
On Tue, Nov 1, 2011 at 2:45 AM, Max Bolingbroke
batterseapo...@hotmail.com wrote:
On 1 November 2011 09:00, Ketil Malde ke...@malde.org wrote:
This is where it stranded the last time, IIRC. That sentiment makes me
a bit uneasy; so you are the official maintainer of a package on
Hackage, but
01.11.2011 20:30, Jurriën Stutterheim пишет:
Hi all,
I have recently switched one of my web applications to SQLite via HDBC. I use
it to store some user credentials and data. Initially it seemed to work fine,
until I tried logging in from two different browsers. That's when I got the
Ross A field in the .cabal file is just as available to bots as
Ross a field on the package page.
Yes, absolutly. There are at least one easy solution for this problem :
having a server-side user model that is related to packages, or to
packages versions, indicating wich user is the maintainer
Hi John,
I'm trying to use the GHCI debugger on this code:
20 instance ArrowLoop SF where
21 loop (SF f) = SF $ \as -
22 let (bs, cs) = unzip (f (zip as (stream cs))) in bs
23 where stream ~(x:xs) = x : stream xs
24
25 swap :: (a,b) - (b,a)
26 swap (x,y) = (y,x)
in
Did someone mention hakyll already ? For the record, this is a nice recent blog
built with it:
http://www.skybluetrades.net/posts/2011/10/21/hakyll-setup.html
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
On Tue, Nov 1, 2011 at 3:36 AM, Serguey Zefirov sergu...@gmail.com wrote:
2011/11/1 Ryan Ingram ryani.s...@gmail.com:
Would you mind give me some examples on how you desribe real circuits
with that abstraction and, especially, an Arrow instance (even
imaginary one)?
Sure, here's a simple SR
On Mon, Oct 31, 2011 at 6:52 PM, Paterson, Ross r.pater...@city.ac.ukwrote:
If you require the circuit to be parametric in the value types, you can
limit the types of function you can pass to arr to simple plumbing.
See the netlist example at the end of my Fun of Programming slides (
Hi,
Please comment on the idea and advise on steps to implement it.
Real world applications need persistent data, that can be accessed and
modified concurrently by several clients, in a way that preserves
happen-before relationship.
Idea: Design and implement Persistent Concurrent Data Types in
Try
swap p = (snd p, fst p)
or, equivalently
swap ~(x,y) = (y,x)
-- ryan
On Tue, Nov 1, 2011 at 1:30 PM, Captain Freako capn.fre...@gmail.comwrote:
Hi John,
I'm trying to use the GHCI debugger on this code:
20 instance ArrowLoop SF where
21 loop (SF f) = SF $ \as -
22
Never mind, I misread the code, 'zip' and the lazy definition of stream
should add the necessary laziness.
-- ryan
On Tue, Nov 1, 2011 at 3:36 PM, Ryan Ingram ryani.s...@gmail.com wrote:
Try
swap p = (snd p, fst p)
or, equivalently
swap ~(x,y) = (y,x)
-- ryan
On Tue, Nov 1, 2011
I can't comment on using ghci debugger to observe evaluation. I have in
the past used hood (http://hackage.haskell.org/package/hood) and found
it both convenient and useful when trying to observe evaluation order.
On 2/11/2011 7:00 AM, Captain Freako wrote:
Hi John,
I'm trying to use the
First, let's lay out our definitions:
unzip [] = ([], [])
unzip ((x,y):xys) = (x:xs, y:ys) where (xs,ys) = unzip xys
zip [] _ = []
zip _ [] = []
zip (x:xs) (y:ys) = (x,y) : zip xs ys
map _ [] = []
map f (x:xs) = f x : map f xs
stream ~(a:as) = a : stream as
-- equivalently
stream xs = head xs
If I have a list [a], and I want to make that persistence, then I have
to have some way to serialize values of type 'a'. If I then modify my
type, then the serialized structure will be out of sync with the new
version of the type -- so I will need some sort of migration feature.
safecopy
So I guess you're talking about imperative mutated data structures
(which is btw the opposite of what persistence usually means in
haskell).
It seems like switching data storage would be as easy or hard as
you've been able to abstract it, e.g. if you can put everything
through 'get' and 'put'
Several of the Haskell web server frameworks (Yesod, HAppS, etc.) come with
persistence support.
I believe you're taking the wrong approach here, with respect to `modified
concurrently` and the like. What does it mean for a Data.List to be
'modified concurrently'? If you need concurrency, first
hi Dimitri
Take a look at TCache. It is a transactional cache with configurable
persistence.
http://hackage.haskell.org/package/TCache
It defines persistent TVars (DBRef`s) with similar primitives.
Persistence can be defined by the user for each datatype by an
instance declaration. There is a
Thanks everybody for advice!
I'll try to clarify what I mean by persistence and concurrent access that
preserves happens-before relationship.
1) Persistence - imagine Haskell run-time executing in infinite physical
memory. My idea is to implement really huge, almost infinite memory in
the cloud
On Wed, Nov 2, 2011 at 3:12 AM, dokondr doko...@gmail.com wrote:
Thanks everybody for advice!
I'll try to clarify what I mean by persistence and concurrent access that
preserves happens-before relationship.
1) Persistence - imagine Haskell run-time executing in infinite physical
memory. My
The perl community has something really interesting for quite long time:
http://wiki.cpantesters.org/wiki/HomePage
Or more specifically:
http://matrix.cpantesters.org/?dist=DBI
The idea is simple: there are many different platforms that would be
to expensive for one to support. So they ask the
56 matches
Mail list logo