I really like this book:
http://research.microsoft.com/en-us/um/people/simonpj/papers/pj-lester-book/
It walks you through building a compiler to a reasonable intermediate
language, which you can then start with; it's is a much easier problem
to convert that intermediate langauge to assembly, C,
R J wrote:
Here's another Bird problem that's stymied me:
The function inits computes the list of initial segments of a list;
its type is inits :: [a] - [[a]]. What is the appropriate naturality
condition for inits?
Just use the free theorem associated to type [a] - [[a]] in Janis
On 08/03/2009, at 12:45 PM, Austin Seipp wrote:
For garbage collection, please see.
Accurate Garbage Collection in an Uncooperative Environment -
http://citeseer.ist.psu.edu/538613.html
This strategy is currently used in Mercury as well as Ben L.'s DDC
language; on that note, I think if you
On Sat, Mar 7, 2009 at 6:49 PM, Roman Cheplyaka r...@ro-che.info wrote:
* Peter Verswyvelen bugf...@gmail.com [2009-03-07 18:34:10+0100]
On Fri, Mar 6, 2009 at 10:39 PM, Roman Cheplyaka r...@ro-che.info
wrote:
Is it a performance issue?
Yes. As Roman Leshchinskiy explained it's because
Hi.
The Cabal package description includes a property `license-file`.
This property may be used by Hackage to provide a link to the license file.
However I would like to have a `changelog-file`, too.
So that from Hackage I can quickly check what's changed with the new
version of a package.
* Peter Verswyvelen bugf...@gmail.com [2009-03-08 12:00:23+0100]
On Sat, Mar 7, 2009 at 6:49 PM, Roman Cheplyaka r...@ro-che.info wrote:
* Peter Verswyvelen bugf...@gmail.com [2009-03-07 18:34:10+0100]
On Fri, Mar 6, 2009 at 10:39 PM, Roman Cheplyaka r...@ro-che.info
wrote:
Is it a
On Sat, 2009-03-07 at 17:51 -0800, Ahn, Ki Yung wrote:
Dear Haskellers and especially who are working on cabal-install
and debian packaging,
I sometimes clean up .ghc and .cabal in my home directory to start from
scratch because of dependency loopholes (cabal-install does not have
remove
Hi!
This should be a bit offtopic, but now I'd like to announce that I'm working
on a 3D rendering rengine in Haskell.
I take ogre3d (www.ogre3d.org) as a base. My code can import import a subset
of ogre model files (currently xml version) and material scripts
On Sat, 2009-03-07 at 17:30 +, Colin Paul Adams wrote:
Svein == Svein Ove Aas svein@aas.no writes:
Preprocessing library game-tree-1.0.0.0... Building
game-tree-1.0.0.0...
Data/Tree/Game/Negascout.hs:31:0: Unrecognised pragma [1 of 2]
Compiling
Awesome!
When you say you took Ogre as a base, do you mean your engine will be able
to load the meshes and material files, or are you also wrapping the C++ code
base?
Did you also consider Collada?
2009/3/8 Csaba Hruska csaba.hru...@gmail.com
Hi!
This should be a bit offtopic, but now I'd
Of course I write everything in haskell! I mean about Ogre that i use only
it's model and material formats and none of its code. Thats all.
Yes, later I'd like to write a collada importer. :)
2009/3/8 Peter Verswyvelen bugf...@gmail.com
Awesome!
When you say you took Ogre as a base, do you
Ahn, Ki Yung wrote:
If anyone who are not using debian distribution ghc-6.10.1 (e.g.,
general linux binary ghc-6.10.1 or source compiled one) can try
bootstrapping cabal-install 0.6.2 from scratch also finds the same
problem, I think someone should make a ticket for cabal-install.
I remember
Of course I write everything in haskell! I mean about Ogre that i use only
it's model and material formats and none of its code. Thats all.
That's a big relief :-) Will it all be in the IO monad, or do you aim for a
pure interface?
Yes, later I'd like to write a collada importer. :)
Hello,
On Sat, Mar 07, 2009 at 05:51:56PM -0800, Ahn, Ki Yung wrote:
I sometimes clean up .ghc and .cabal in my home directory to start from
scratch because of dependency loopholes (cabal-install does not have
remove option yet, so it's hard to fix when such loophole happens).
You may use
2009/3/8 Peter Verswyvelen bugf...@gmail.com
Of course I write everything in haskell! I mean about Ogre that i use only
it's model and material formats and none of its code. Thats all.
That's a big relief :-) Will it all be in the IO monad, or do you aim for a
pure interface?
I prefer pure
On Sun, Mar 8, 2009 at 12:32 PM, Duncan Coutts
duncan.cou...@worc.ox.ac.uk wrote:
Note also that the list of licenses mkcabal offers is wrong. You can get
the list from the Cabal lib itself so there is no need to maintain the
list manually.
It would also be nice to expand that list somewhat,
OK, thank you all for your responses. I'm impressed how fast you were.
2009/3/8 Rick R rick.richard...@gmail.com:
http://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_Hours
I have it. However, Scheme is strict, which is the reason I didn't
complete my reading. Maybe I am wrong.
Or go
The Holumbus framework is known for building specialized search-engines
like the Hayoo! Haskell API search. Now, I'd like to announce the newest
libraries of the Holumbus framework:
Holumbus-MapReduce0.0.1
Holumbus-Distribution 0.0.1
Holumbus-Storage 0.0.1
As part of my Master's
On Sun, Mar 8, 2009 at 7:13 AM, Manlio Perillo manlio_peri...@libero.it wrote:
Hi.
The Cabal package description includes a property `license-file`.
This property may be used by Hackage to provide a link to the license file.
However I would like to have a `changelog-file`, too.
So that from
Hello Stefan,
Sunday, March 8, 2009, 4:47:25 PM, you wrote:
Wedel, Germany, I have developed a library for building distributed
MapReduce systems in Haskell.
Holumbus-Distribution consists of modules and tools for the
implementation of distributed systems in general.
Holumbus-Storage is
Hi,
I need to derive Data, Typeable for Data.Time.LocalTime. I had hoped to
use either derive or DrIFT to generate the instance declarations for it.
I tried to understand the respective user manuals but it's still all
Greek to me.
Someone please help!
Günther
Hey folks, I was trying to create some FFI bindings using c2hs and I
ran into trouble: I can't use the 'sizeof' and 'set' hooks for structs
that aren't defined inside a typedef.
I don't know a whole lot about C - is there any declaration I can make
to make something like my second struct work in
You shouldn't need any extra tools for this. A combination of the
StandaloneDeriving and DeriveDataTypeable extensions in GHC should suffice.
Cheers,
S.
On Sun, Mar 8, 2009 at 10:30 AM, Gü?nther Schmidt gue.schm...@web.dewrote:
Hi,
I need to derive Data, Typeable for Data.Time.LocalTime. I
In C, if you don't typedef the struct, the name of the struct is
struct my_iovec_2, not my_iovec_2. I don't know much about the
haskell FFI, but maybe this is the problem?
(by the way, why does reply default to replying to the sender, not
the mailing list?)
On Sun, Mar 8, 2009 at 1:25 PM,
On Sun, Mar 8, 2009 at 12:47 PM, Magnus Jonsson jmagn...@gmail.com wrote:
In C, if you don't typedef the struct, the name of the struct is
struct my_iovec_2, not my_iovec_2. I don't know much about the
haskell FFI, but maybe this is the problem?
(by the way, why does reply default to replying
On Sun, 2009-03-08 at 13:13 +0100, Svein Ove Aas wrote:
On Sun, Mar 8, 2009 at 12:32 PM, Duncan Coutts
duncan.cou...@worc.ox.ac.uk wrote:
Note also that the list of licenses mkcabal offers is wrong. You can get
the list from the Cabal lib itself so there is no need to maintain the
list
On Sun, 2009-03-08 at 10:00 -0400, Gwern Branwen wrote:
On Sun, Mar 8, 2009 at 7:13 AM, Manlio Perillo manlio_peri...@libero.it
wrote:
Hi.
The Cabal package description includes a property `license-file`.
This property may be used by Hackage to provide a link to the license file.
Duncan Coutts ha scritto:
On Sun, 2009-03-08 at 10:00 -0400, Gwern Branwen wrote:
On Sun, Mar 8, 2009 at 7:13 AM, Manlio Perillo manlio_peri...@libero.it wrote:
Hi.
The Cabal package description includes a property `license-file`.
This property may be used by Hackage to provide a link to the
Csaba Hruska wrote:
Of course I write everything in haskell! I mean about Ogre that i use
only it's model and material formats and none of its code. Thats all.
Yes, later I'd like to write a collada importer. :)
2009/3/8 Peter Verswyvelen bugf...@gmail.com mailto:bugf...@gmail.com
duncan.coutts:
On Sat, 2009-03-07 at 17:30 +, Colin Paul Adams wrote:
Svein == Svein Ove Aas svein@aas.no writes:
Preprocessing library game-tree-1.0.0.0... Building
game-tree-1.0.0.0...
Data/Tree/Game/Negascout.hs:31:0: Unrecognised pragma [1 of 2]
Hi Sterling,
sry, but I can't get it to work.
Günther
Sterling Clover schrieb:
You shouldn't need any extra tools for this. A combination of the
StandaloneDeriving and DeriveDataTypeable extensions in GHC should suffice.
Cheers,
S.
On Sun, Mar 8, 2009 at 10:30 AM, Gü?nther Schmidt
What problems are you encountering?
Alex
On Sun, Mar 8, 2009 at 11:58 AM, G?uenther Schmidt red...@fedoms.com wrote:
Hi Sterling,
sry, but I can't get it to work.
Günther
Sterling Clover schrieb:
You shouldn't need any extra tools for this. A combination of the
StandaloneDeriving and
Hi Alexander,
well I have this:
newtype AdmissionDate = AdmDt LocalTime
deriving (Data,Typeable ..)
at least that's where I wonna get.
I don't know how to create the proper instance declarations though for
LocalTime.
AdmissionDate is an element of a larger data structure, this
Well you can do
deriving instance Typeable LocalType
etc. if you enable the DeriveDataTypeable and StandaloneDeriving
extensions. You will get other error messages for missing instances;
just keep adding
deriving instance Typeable Day
etc. Eventually, you will need to implement an instance
Hi Alexander,
this does the trick!
Günther
Alexander Dunlap schrieb:
Well you can do
deriving instance Typeable LocalType
etc. if you enable the DeriveDataTypeable and StandaloneDeriving
extensions. You will get other error messages for missing instances;
just keep adding
deriving
New Haskell packages for the week ending Mar 8.
http://archhaskell.wordpress.com/2009/03/08/arch-haskell-news-mar-8-2009/
Arch now has 962 Haskell packages in AUR. That’s 17 new packages this week, and
lots of updates as well.
Notable releases this week
* htar-0.3: Command-line tar archive
* Neal Alexander relapse@gmx.com [2009-03-08 10:49:52-0800]
Anyway, it seems like theres quite a few people working on game/openGL
related stuff for Haskell now. Would be nice to get a group of people
working on something.
Please go ahead!
Personally, I've been working on a 2d
On Sun, 8 Mar 2009, Trent W. Buck wrote:
Eric Kow ko...@darcs.net writes:
One of the darcs team members, Thorkil Naur, felt that in my enthusiasm I
was not being sufficiently forthright about darcs's shortcomings.
As for me, I tend to start any review with a list of all the problems I
have
Duncan Coutts 쓴 글:
On Sat, 2009-03-07 at 17:51 -0800, Ahn, Ki Yung wrote:
Dear Haskellers and especially who are working on cabal-install
and debian packaging,
I sometimes clean up .ghc and .cabal in my home directory to start from
scratch because of dependency loopholes (cabal-install does
Thanks to the courage you all gave me, I found the strength to go on.
Template instantiation seems to be the easiest path, so I decided to
follow it. I think I solved the problem about primitives and FFI I
though it had. Namely, how the hell do I compile primitive calls with
an arbitrary number
Hi all,
I'm trying to catch up with all the wonderful Haskell Types, classes,
Abstract Data Types, Algebraic Data Types, Types that give peoples
headaches and all the other, deeper stuff I have been happily putting off.
Now to look smart I have a bookshelf full of books for smart people and
On Sat, 7 Mar 2009, Duncan Coutts wrote:
On Fri, 2009-03-06 at 19:16 +, Chris Kuklewicz wrote:
Not likely.
I did define my own (private) class for regular expressions, to abstract over
String, the ByteStrings, and Seq Char. But it is used in one place and is a
wart that should be
On Fri, 6 Mar 2009, Ed McCaffrey wrote:
Hello,
I'm turning a project involving music into a startup, and I will be using
Haskell for most
and possibly all of it. I had an angel investor interested until the market
collapse forced
him to turn his focus away from new investments. Other
TaPL, iirc, is more about compilers and typesystems, and not
specifically about haskell. RWH will give you a cover of the basic stuff
and common data types. The Typeclassopedia will cover all the major
typeclasses (google search ought to reveal it's super-secret location).
Otherwise, the
Where can I find more information on STGs? Google search doesn't bring up
anything too enlightening.
My curiosity was piqued by http://www.cs.chalmers.se/~gedell/ssc/index.html.
Of course it doesn't indicate how these should be built or the format.
On Sun, Mar 8, 2009 at 6:41 PM, Loup Vaillant
Eelco Lempsink wrote:
The list with options can be found here (for now):
http://community.haskell.org/~eelco/poll.html Notice that some (very)
similar logos are grouped as one option (thanks to Ian Lynagh) All
submissions compete, so that still makes more than a 100 options!
The voting
Another alternative, perhaps we rank the first n we care about, and
regard the rest as ranked as low as possible?
Since Condorcet allows ties, it should work -- I don't know if it
_technically_ allows for skipping ranks, though, but I imagine it would
still work...
Ashley Yakeley wrote:
Hah!
I always knew it!
I'm not the only getting a headache from this.
Thanks Joseph
Joseph Fredette schrieb:
TaPL, iirc, is more about compilers and typesystems, and not
specifically about haskell. RWH will give you a cover of the basic
stuff and common data types. The Typeclassopedia will
Hi all,
What is your preferred method of parsing floating point numbers (from
String to Float/Double)? Parsec it seems only does positive floats out
of the box and PolyParse requires the float to be on scientific form
(exponential). While I've worked around these shortcomings in the past
I feel
On Sun, 2009-03-08 at 19:34 -0500, Bjorn Buckwalter wrote:
Hi all,
What is your preferred method of parsing floating point numbers (from
String to Float/Double)? Parsec it seems only does positive floats out
of the box and PolyParse requires the float to be on scientific form
(exponential).
uvector is, if my memory serves me correctly, a fork of the vector library.
It uses modern stream fusion, but is under active development and is a
little scary. I'm a little unclear on the exact difference between uvector
and vector. Both use arrays that are not pinned, so they can't be readily
On Sun, Mar 8, 2009 at 9:34 PM, Bjorn Buckwalter
bjorn.buckwal...@gmail.com wrote:
(For my current needs the formats accepted by read are sufficient,
but I want reasonable error handling (Maybe or Either) instead of an
exception on bad inputs.)
Why not
readM :: (Monad m, Read a) = String - m
On Sun, 2009-03-08 at 15:33 -0700, Ahn, Ki Yung wrote:
I am using Debian unstable.
The version of GHC debian package is 6.10.1+dfsg1-13,
and installed Haskell libraries (debian packages) are:
kya...@kyavaio:~$ ghc-pkg list
/usr/lib/ghc-6.10.1/./package.conf:
packedstring-0.1.0.1,
I'm trying to catch up with all the wonderful Haskell Types, classes,
Abstract Data Types, Algebraic Data Types, Types that give peoples
headaches and all the other, deeper stuff I have been happily putting off.
Hmm, do we need more pragmas?-)
{-# LANGUAGE TypesThatGivePeopleHeadaches #-}
{-#
claus.reinke:
I'm trying to catch up with all the wonderful Haskell Types, classes,
Abstract Data Types, Algebraic Data Types, Types that give peoples
headaches and all the other, deeper stuff I have been happily putting
off.
Hmm, do we need more pragmas?-)
{-# LANGUAGE
If you're working with ByteStrings,
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/bytestring-lexing
might help.
Cheers,
Dan
On Sun, Mar 8, 2009 at 8:34 PM, Bjorn Buckwalter
bjorn.buckwal...@gmail.com wrote:
Hi all,
What is your preferred method of parsing floating point numbers
On 8 Mar 2009, at 12:13 pm, G?uenther Schmidt wrote:
Hi Don,
damn, that was quick!
And thx, I'll look into that. The reading it in wasn't much of a
problem, I had been able to use MS-ODBC for that, there's a driver
for ODBC files. The problem is more the type of data structure I'd
be
So...is there some reason this is in the hApps package?
On Sat, Mar 7, 2009 at 9:04 PM, Jeremy Shaw jer...@n-heptane.com wrote:
At Sun, 08 Mar 2009 00:13:14 +0100,
G?uenther Schmidt wrote:
In SQL I would have the data indexed by several
different columns, if I use maps I'd only have one
2009/3/9 Joseph Fredette jfred...@gmail.com
Another alternative, perhaps we rank the first n we care about, and regard the
rest as ranked as low as possible?
Since Condorcet allows ties, it should work -- I don't know if it _technically_
allows for skipping ranks, though, but I imagine it
Manlio Perillo wrote:
Duncan Coutts ha scritto:
On Sun, 2009-03-08 at 10:00 -0400, Gwern Branwen wrote:
http://hackage.haskell.org/trac/hackage/ticket/244
http://hackage.haskell.org/trac/hackage/ticket/299
Thanks Gwern. Yes, we're looking for a volunteer to work on implementing
this.
Hello,
I'd like to announce the release of the happstack-0.2 compatible
release of happs-tutorial on hackage and available for perusing on
tutorial.happstack.com.
A number of changes occurred in this release:
* General cleanup of code for readability
* Migration to the new
Rick R wrote:
Where can I find more information on STGs? Google search doesn't bring up
anything too enlightening.
My curiosity was piqued by http://www.cs.chalmers.se/~gedell/ssc/index.html.
Of course it doesn't indicate how these should be built or the format.
Perhaps
Excerpts from Ashley Yakeley's message of Sun Mar 08 17:19:43 -0600 2009:
Eelco Lempsink wrote:
The list with options can be found here (for now):
http://community.haskell.org/~eelco/poll.html Notice that some (very)
similar logos are grouped as one option (thanks to Ian Lynagh) All
When bootstrapping cabal-install 0.6.2 on Mac OSX Leopard (Intel), I
get a problem when linking:
Linking dist/build/cabal/cabal ...
ld: in
/private/var/folders/mw/mwJSf7ErEa4w8nWyKyyqDTY/-Tmp-/zlib-0.5.0.0/dist/build/libHSzlib-0.5.0.0.a,
archive has no table of contents
This had happened
Here is my window, seems right... but cannot get a gap
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
window id # of group leader: 0x181
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 25165829
On 09/03/2009, at 11:47, Claus Reinke wrote:
Btw, have any of the Haskell array optimization researchers
considered fixpoints yet?
This, for instance, is a very nice paper:
http://www.pllab.riec.tohoku.ac.jp/~ohori/research/OhoriSasanoPOPL07.pdf
However, in the context of high-performance
66 matches
Mail list logo