On Thu, Jul 21, 2011 at 1:22 AM, Olexander Kozlov ookoz...@gmail.com wrote:
Greetings Haskell community,
I stuck with a space leak problem in simple task. I have a function
described with a list of pairs:
type Fn a b = [(a, b)]
mapping values from a to b. And I have a composition operation
On Mon, Jul 18, 2011 at 11:45 AM, Albert Y. C. Lai tre...@vex.net wrote:
On 11-07-17 12:29 AM, william murphy wrote:
command line: cannot satisfy -package-id
network-2.3.0.2-24fdc6b92867c7236e81708f93cae7d0
Look at the output of ghc -v and be very horrified.
The problem is not lacking
On Thu, Jul 14, 2011 at 5:04 PM, Ertugrul Soeylemez e...@ertes.de wrote:
Hello all,
I really like the way Animas (fork of Yampa) represents reactive
systems, and I would love to write some of my simulations using it.
Unfortunately most of what I want to do requires dynamic systems, which
can
On Sun, Jul 10, 2011 at 12:59 PM, ivan vadovic p...@pobox.sk wrote:
Hi,
Also a library for string normalization in the sense of stripping diacritical
marks would be handy too. Does anything in this respect exist that would be
usable from haskell?
The closest thing I know of is this:
On Thu, Jul 7, 2011 at 11:08 PM, Heinrich Apfelmus
apfel...@quantentunnel.de wrote:
Dear Haskellers,
Can GUI programming be liberated from the IO monad? Functional Reactive
Programming (FRP) promises as much, and I'm trying to make this dream a
reality with my [reactive-banana][] library.
On Fri, Jul 8, 2011 at 12:51 AM, Heinrich Apfelmus
apfel...@quantentunnel.de wrote:
Jason Dagit wrote:
Heinrich Apfelmus wrote:
Do you know any *small GUI programs* that you would *like* to see
*implemented with Functional Reactive Programming?*
I would love to hear your examples, so
On Thu, Jul 7, 2011 at 12:41 AM, Simon Marlow marlo...@gmail.com wrote:
On 06/07/2011 21:19, Jason Dagit wrote:
On Wed, Jul 6, 2011 at 12:52 PM, Simon Marlowmarlo...@gmail.com wrote:
On 06/07/11 17:14, David Barbour wrote:
On Wed, Jul 6, 2011 at 8:09 AM, Simon Marlowmarlo...@gmail.com
On Jul 5, 2011 1:04 PM, Jason Dagit dag...@gmail.com wrote:
On Tue, Jul 5, 2011 at 12:33 PM, Ian Lynagh ig...@earth.li wrote:
On Tue, Jul 05, 2011 at 08:11:21PM +0100, Simon Marlow wrote:
In GHCi it's a different matter, because the main thread is running
GHCi itself, and all
On Wed, Jul 6, 2011 at 2:20 AM, Simon Marlow marlo...@gmail.com wrote:
On 05/07/2011 20:38, Jason Dagit wrote:
On Tue, Jul 5, 2011 at 12:11 PM, Simon Marlowmarlo...@gmail.com wrote:
On 04/07/11 06:02, Jason Dagit wrote:
Hello,
I'm trying to get some GUI code working on OSX and numerous
On Wed, Jul 6, 2011 at 2:23 AM, Simon Marlow marlo...@gmail.com wrote:
On 06/07/2011 07:37, Jason Dagit wrote:
On Jul 5, 2011 1:04 PM, Jason Dagit dag...@gmail.com
mailto:dag...@gmail.com wrote:
On Tue, Jul 5, 2011 at 12:33 PM, Ian Lynagh ig...@earth.li
mailto:ig...@earth.li wrote
On Wed, Jul 6, 2011 at 8:09 AM, Simon Marlow marlo...@gmail.com wrote:
On 06/07/2011 15:42, Jason Dagit wrote:
On Wed, Jul 6, 2011 at 2:23 AM, Simon Marlowmarlo...@gmail.com wrote:
On 06/07/2011 07:37, Jason Dagit wrote:
On Jul 5, 2011 1:04 PM, Jason Dagitdag...@gmail.com
mailto:dag
On Wed, Jul 6, 2011 at 8:51 AM, Simon Marlow marlo...@gmail.com wrote:
On 06/07/2011 16:24, Jason Dagit wrote:
On Wed, Jul 6, 2011 at 8:09 AM, Simon Marlowmarlo...@gmail.com wrote:
On 06/07/2011 15:42, Jason Dagit wrote:
On Wed, Jul 6, 2011 at 2:23 AM, Simon Marlowmarlo...@gmail.com
On Wed, Jul 6, 2011 at 12:52 PM, Simon Marlow marlo...@gmail.com wrote:
On 06/07/11 17:14, David Barbour wrote:
On Wed, Jul 6, 2011 at 8:09 AM, Simon Marlow marlo...@gmail.com
mailto:marlo...@gmail.com wrote:
On 06/07/2011 15:42, Jason Dagit wrote:
How can I make sure my library
On Tue, Jul 5, 2011 at 12:11 PM, Simon Marlow marlo...@gmail.com wrote:
On 04/07/11 06:02, Jason Dagit wrote:
Hello,
I'm trying to get some GUI code working on OSX and numerous forums
around the internet keep reiterating that on OSX to correctly handle
GUI events you need to use
On Tue, Jul 5, 2011 at 12:33 PM, Ian Lynagh ig...@earth.li wrote:
On Tue, Jul 05, 2011 at 08:11:21PM +0100, Simon Marlow wrote:
In GHCi it's a different matter, because the main thread is running
GHCi itself, and all the expressions/statements typed at the prompt
are run in forkIO'd threads
Hello,
I have a GUI program that when I compile it and run it there are no
problems. When I load it into GHCI and type, main, it loads the
main window but there are no window decorations and the program hangs
to the point where I have to kill the ghci process. You see a
spinning cursor when you
On Sun, Jul 3, 2011 at 5:16 PM, Jason Dagit dag...@gmail.com wrote:
Hello,
I have a GUI program that when I compile it and run it there are no
problems. When I load it into GHCI and type, main, it loads the
main window but there are no window decorations and the program hangs
to the point
On Sun, Jul 3, 2011 at 8:31 PM, Alexander Solla alex.so...@gmail.com wrote:
On Sun, Jul 3, 2011 at 5:16 PM, Jason Dagit dag...@gmail.com wrote:
Hello,
I have a GUI program that when I compile it and run it there are no
problems. When I load it into GHCI and type, main, it loads the
main
Hello,
I'm trying to get some GUI code working on OSX and numerous forums
around the internet keep reiterating that on OSX to correctly handle
GUI events you need to use the original thread allocated to your
process to check for events and to call the Cocoa framework
functionality. Specifically,
On Sun, Jul 3, 2011 at 9:06 PM, Jason Dagit dag...@gmail.com wrote:
On Sun, Jul 3, 2011 at 8:31 PM, Alexander Solla alex.so...@gmail.com wrote:
On Sun, Jul 3, 2011 at 5:16 PM, Jason Dagit dag...@gmail.com wrote:
Hello,
I have a GUI program that when I compile it and run
On Sun, Jul 3, 2011 at 10:02 PM, Jason Dagit dag...@gmail.com wrote:
Hello,
I'm trying to get some GUI code working on OSX and numerous forums
around the internet keep reiterating that on OSX to correctly handle
GUI events you need to use the original thread allocated to your
process
On Sun, Jul 3, 2011 at 10:31 PM, David Barbour dmbarb...@gmail.com wrote:
On Jul 3, 2011, Jason Dagit dag...@gmail.com wrote:
to correctly handle GUI events you need to use the original thread
allocated to your process to check for events and to call the Cocoa
framework functionality.
I
On Sun, Jul 3, 2011 at 10:22 PM, Felipe Almeida Lessa
felipe.le...@gmail.com wrote:
On Mon, Jul 4, 2011 at 2:02 AM, Jason Dagit dag...@gmail.com wrote:
My second question is, if there is no current workaround then how can
we remedy this situation? It seems like there could be an api
function
On Mon, Jun 27, 2011 at 10:33 AM, John Velman vel...@cox.net wrote:
I'm running OS X 10.6.7, XCode 3.2.5. When I try to install The Haskell
Platform 2011.2.0.1 for Mac OS X 10.6 (Snow Leopard) it goes all the way
through to running package scripts, then says installation failed
I did two
On Tue, Jun 28, 2011 at 3:43 AM, Alberto G. Corona agocor...@gmail.com wrote:
I have an 'impossible' happened error.
The code may look a little bit convoluted but it is part of my real code.:
I don't know why it's crashing, but did you already report it as a
bug? If not, you definitely should.
On Tue, Jun 28, 2011 at 11:14 AM, Tom Murphy amin...@gmail.com wrote:
On 6/28/11, Jason Dagit dag...@gmail.com wrote:
I'd try asking on StackOverflow. I think the people who know the
answer might be watching there instead of here.
Really? I had thought that everyone who was on SO
2011/6/26 Александр kommunist1...@mail.ru:
Thank you, for reply.
Yes i use ghc.
First thing is to do 'ghc-pkg list'. If your package doesn't show up
then it's not installed, according to the package registry. 'cabal
install' should have registered it. If it is in the list, then it
depends how
On Thu, Jun 23, 2011 at 6:07 AM, Raeez Lorgat ra...@mit.edu wrote:
If anyone is curious, I've posted a possible solution at the stack
overflow post:
http://stackoverflow.com/questions/6323755/osx-ghci-dylib-what-is-the-correct-way/6439016#6439016
I'd appreciate any feedback (and/or
On Thu, Jun 23, 2011 at 11:32 AM, Chris Smith cdsm...@gmail.com wrote:
Answering my own question, apparently GLUT only doesn't work from within
GHCi.
Most GUI bindings in Haskell do not work correctly from GHCI.
I've been trying (with lots of help from others) to get the GLFW-b
bindings to be
On Thu, Jun 23, 2011 at 11:57 AM, Chris Smith cdsm...@gmail.com wrote:
On Thu, 2011-06-23 at 11:50 -0700, Jason Dagit wrote:
What is your deadline for making sure you have a working library?
I don't know... August? In any case, I do now have a working library,
so long as I remember
On Tue, Jun 21, 2011 at 3:31 AM, Uli Kastlunger squar...@gmail.com wrote:
Hello Haskell fellows,
recently there has been a huge progress in generating real programs by
specifying them in interactive theorems prover like Isabelle or Coq, in
particular a verified C Compiler has been generated
On Thu, Jun 16, 2011 at 3:05 PM, Henning Thielemann
lemm...@henning-thielemann.de wrote:
On Fri, 17 Jun 2011, Dmitri O.Kondratiev wrote:
How to make cabal install all the dependencies? I couldn't find this in
the docs at:
http://www.haskell.org/haskellwiki/Cabal-Install
Usually, 'cabal
On Wed, Jun 15, 2011 at 2:16 AM, Simon Marlow marlo...@gmail.com wrote:
On 14/06/2011 17:57, Jason Dagit wrote:
On Tue, Jun 14, 2011 at 4:26 AM, Simon Marlowmarlo...@gmail.com wrote:
On 12/06/2011 20:17, Jason Dagit wrote:
On Sun, Jun 12, 2011 at 11:45 AM, Brandon Allberyallber
On Tue, Jun 14, 2011 at 4:26 AM, Simon Marlow marlo...@gmail.com wrote:
On 12/06/2011 20:17, Jason Dagit wrote:
On Sun, Jun 12, 2011 at 11:45 AM, Brandon Allberyallber...@gmail.com
wrote:
On Sun, Jun 12, 2011 at 14:31, Jason Dagitdag...@gmail.com wrote:
If I build the C library
Hello,
I also asked this question on SO:
http://stackoverflow.com/questions/6323755/osx-ghci-dylib-what-is-the-correct-way
I wonder where I'll get more/better answers?
Read on for the question. Thanks!
Jason
I need to build some C code and then reference that C code via the
FFI. I would like
On Sun, Jun 12, 2011 at 11:45 AM, Brandon Allbery allber...@gmail.com wrote:
On Sun, Jun 12, 2011 at 14:31, Jason Dagit dag...@gmail.com wrote:
If I build the C library as a .a, then ghci comlains that it cannot
open the .dylib. My first question is: Why does ghci need a .dylib
and does
On Thu, Jun 9, 2011 at 2:06 PM, Andrew Coppin
andrewcop...@btinternet.com wrote:
Too bad GHC doesn't support inline assembly yet... (Or does it? I know it
supports inline Core now.)
Really? I found this in the manual so I think either the docs need to
be updated or you are mistaken:
On Tue, Jun 7, 2011 at 11:32 AM, Nicu Ionita nicu.ion...@acons.at wrote:
Yes, I was a little bit unclear, I wanted to say: the generated code does
not use the 64 bit instructions (i.e. 1 instruction for .., for example).
Of course, it works, but I suppose, much slower then it could (3-4 times,
On Mon, Jun 6, 2011 at 1:34 PM, Nicu Ionita nicu.ion...@acons.at wrote:
Am 23.05.2011 13:32, schrieb Simon Marlow:
On 18/05/2011 19:22, Jason Dagit wrote:
On Wed, May 18, 2011 at 2:50 AM, John Sneerjohnsn...@operamail.com
wrote:
Hello all,
I know it is not probably good question
On Wed, Jun 1, 2011 at 7:44 AM, Dmitry Olshansky olshansk...@gmail.com wrote:
Hello,
Could anyone explain strange behavior of Takusen with OracleDB (OraClient
11.x)? Several sequential sessions give Seqmentation Fault error. In case
of nested sessions it works well.
I'm CC'ing the takusen
On Wed, Jun 1, 2011 at 9:01 AM, Jason Dagit dag...@gmail.com wrote:
I'm CC'ing the takusen email list so that Oleg and Alistair will see
your message. They are more familiar with the Oracle support than I
am.
I should really link to the original message:
http://www.haskell.org/pipermail
On Mon, May 30, 2011 at 1:19 AM, Jerzy Karczmarczuk
jerzy.karczmarc...@unicaen.fr wrote:
Henk-Jan van Tuyl commenting Andrew Coppin
... (about HOpenGL and H.Platform) ...
Uh... yes, you might be right about that. However, AFAIK you still need
something with which to create a rendering
On Wed, Jun 1, 2011 at 8:33 AM, Johan Tibell johan.tib...@gmail.com wrote:
On Wed, Jun 1, 2011 at 4:24 PM, Aleksandar Dimitrov
aleks.dimit...@googlemail.com wrote:
One additional thought: it might be interesting to provide this outside of
this
mailing list, perhaps as a documentation
On Thu, May 26, 2011 at 9:45 AM, Srinivasan Balram
srinivasan_bal...@marlabs.com wrote:
folks:
I was advised to post this request here. This is about needs of daily-grind
enterprise development.
Enterprise developers need 3 categories of books in Haskell urgently:
(i) Haskell (CookBooks /
On Thu, May 26, 2011 at 11:17 AM, Clint Moore cl...@ivy.io wrote:
While it's not a solution (yet) for a book, would a section or special
section in the wiki be appropriate at least in the beginning? Our small
company has been collecting cookbook-like recipies and best practices
for a while
On Thu, May 26, 2011 at 1:09 PM, Gaius Hammond ga...@gaius.org.uk wrote:
On 26 May 2011, at 19:22, Clint Moore wrote:
On Thu, May 26, 2011 at 10:57:42AM -0700, Jason Dagit wrote:
Database connectivity is a weakspot still. Haskell developers don't
seem to use databases nearly as often
On Wed, May 25, 2011 at 4:02 PM, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
On 26 May 2011 08:49, wren ng thornton w...@freegeek.org wrote:
On 5/25/11 1:03 PM, Bryan O'Sullivan wrote:
On Wed, May 25, 2011 at 5:59 AM, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
Well,
On Thu, May 26, 2011 at 1:43 PM, Gaius Hammond ga...@gaius.org.uk wrote:
On 26 May 2011, at 21:34, Jason Dagit wrote:
On Thu, May 26, 2011 at 1:09 PM, Gaius Hammond ga...@gaius.org.uk wrote:
Over in OCaml-land, I have taken it upon myself to address this:
http://gaiustech.github.com/ociml
On Tue, May 24, 2011 at 1:13 AM, Christopher Done
chrisd...@googlemail.com wrote:
On 24 May 2011 10:05, Jacek Generowicz jacek.generow...@cern.ch wrote:
GOA is broken with recent lambdabots, according to
http://hackage.haskell.org/package/goa-3.0.2
It certainly fails to compile for me
On Mon, May 23, 2011 at 4:32 AM, Simon Marlow marlo...@gmail.com wrote:
On 18/05/2011 19:22, Jason Dagit wrote:
On Wed, May 18, 2011 at 2:50 AM, John Sneerjohnsn...@operamail.com
wrote:
Hello all,
I know it is not probably good question to this list, but anyway,
could anyone point me
On Wed, May 18, 2011 at 11:09 AM, Jason Dagit dag...@gmail.com wrote:
Support for OpenGL comes in different levels of quality, as I'm
discovering. It would seem that Mesa (ie., linux support), only
officially supports OpenGL 2.1 [1] despite being released on 6 April
2011. I haven't been
On Tue, May 17, 2011 at 4:24 PM, Conal Elliott co...@conal.net wrote:
I still haven't found any way to do GUIs or interactive graphics in Haskell
on a Mac that isn't plagued one or more of the following serious problems:
* Incompatible with ghci, e.g., fails to make a window frame or kills the
On Wed, May 18, 2011 at 2:50 AM, John Sneer johnsn...@operamail.com wrote:
Hello all,
I know it is not probably good question to this list, but anyway,
could anyone point me to some more detailed how to where is
described building of Haskell Platform natively to 64bit Windows?
If you
On Tue, May 17, 2011 at 4:17 PM, Conal Elliott co...@conal.net wrote:
Has anyone figured out a way to get libraries that open windows to work with
ghci? With libraries like glut I get the body of a window, but no frame, and
the process wedges. I guess the problem has to do with lack of .app
On Fri, May 13, 2011 at 7:47 AM, Yves Parès limestr...@gmail.com wrote:
Talking about that, what are the differences between cabal-install and
cabal-dev? Is cabal-dev (which I've never used nor installed) more suited
for incremental development?
Cabal-dev is a wrapper around caba-install
On Thu, May 12, 2011 at 7:24 AM, Guy guytsalmave...@yahoo.com wrote:
http://www.haskell.org/cabal/release/cabal-latest/ points to version
1.8.0.4. Is this correct?
Replying to this on Haskell-Cafe and cabal-dev lists.
The latest version is 1.10.x and ships with the HP. I bet that link is
On Wed, May 11, 2011 at 6:13 PM, Gregory Crosswhite
gcr...@phys.washington.edu wrote:
[snip]
1) Cabal is a tool that can only be used to build Haskell packages with
some supporting C/C++ code thrown in
and
2) Cabal is currently the only tool that can realistically be used to
properly
On Thu, May 12, 2011 at 11:00 AM, Don Stewart don...@gmail.com wrote:
No, you should be using Haddock.
If you wish to generate docs some other way, you are free to host that
on your own site, and link to it from the Hackage page.
Or improve haddock if you think it's lacking something.
I would like to add a big thank you to everyone involved and a huge thanks
to the SFC.
I believe this move is the right one and it will be tremendously valuable to
the community going forward.
Thanks!
On Wed, May 11, 2011 at 9:11 AM, Don Stewart don...@gmail.com wrote:
The intent is that all
On Sun, May 8, 2011 at 1:25 PM, Magnus Therning mag...@therning.org wrote:
Are there any drawbacks to using the Apache license for Haskell
packages?
I don't think so. It looks to be almost identical to using BSD3, which is
already quite popular for haskellers.
This seems like a good write
On Tue, May 3, 2011 at 3:00 PM, Don Stewart don...@gmail.com wrote:
Hey all,
I thought I'd just make a quick advertisement for the Haskell Stack
Overflow community:
http://stackoverflow.com/questions/tagged/haskell
as a forum for questions and answers on beginner to advanced Haskell
On Mon, May 2, 2011 at 6:29 AM, Artyom Kazak artyom.ka...@gmail.com wrote:
Hi Cafe!
When I'm running examles from Gloss graphics library, all examples
except gloss-hello are crashing with the following error: GLUT:
Warning in gloss-easy: GL error: gloss-easy: stderr: hPutChar:
invalid
On Tue, Apr 26, 2011 at 1:14 PM, Andrew Pennebaker
andrew.penneba...@gmail.com wrote:
Thanks for the tip. GHC 7.0.3 does seem to fix a couple bugs, and maybe
even run faster than GHC 7.0.2.
But it doesn't solve the problem.
It's hard to help because I still don't know what problem you're
On Wed, Apr 27, 2011 at 9:46 PM, Albert Y. C. Lai tre...@vex.net wrote:
Perhaps the linker ran out of memory.
I don't think so. In my experience, when gnu ld crashes from out of memory
it gets a segfault, which translates to error code 9, (or was it 11?), and
then cabal will print ExitFailure
Do you have a question for the group or something you want to discuss?
On Mon, Apr 25, 2011 at 8:50 PM, cas...@istar.ca wrote:
-- Extension for Pearls of Functional Algorithm Design by Richard Bird,
-- 2010, page 25 #Haskell
-- This version assumes 3 disjoint ordered sets represented as
On Tue, Apr 26, 2011 at 1:38 AM, Andrew Pennebaker
andrew.penneba...@gmail.com wrote:
$ system_profiler SPSoftwareDataType | grep System Version
System Version: Mac OS X 10.6.7 (10J869)
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.0.2
$ cabal --version
On Tue, Apr 26, 2011 at 3:22 AM, Emil Axelsson e...@chalmers.se wrote:
Hello!
I've had some of the usual problems with packages depending on multiple
versions of another package. It seems the root of the hole problem was that
I once attempted to run
cabal install cabal-install
This
On Tue, Apr 26, 2011 at 6:35 AM, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
On 26 April 2011 13:16, Andrew Coppin andrewcop...@btinternet.com wrote:
2. I have no idea how to make Darcs do the thing with hard links (is
that
even supported under Windows?) I just copy the whole
On Sun, Apr 24, 2011 at 2:05 AM, Andrew Coppin
andrewcop...@btinternet.comwrote:
I've discovered something interesting.
Darcs stores history as a partially-ordered set of changes. This is a
beautiful and elegant idea. In theory, this lets me apply any combination of
changes, possibly
On Thu, Apr 21, 2011 at 1:29 PM, Andrew Coppin
andrewcop...@btinternet.comwrote:
I'm sure this must be a VFAQ, but... There seems to be universal agreement
that Darcs is a nice idea, but is unsuitable for real projects. Even GHC
keeps talking about getting rid of Darcs. Can anybody tell me
On Thu, Apr 21, 2011 at 8:36 AM, John A. De Goes j...@n-brain.net wrote:
This is a much cleaner definition of Iteratee and I'm happy to see it.
I'm confused by this comment. Isn't John Lato's implementation of Iteratee
(on hackage) is based on the example implementation that Oleg pointed you
On Thu, Apr 21, 2011 at 8:42 PM, John Millikin jmilli...@gmail.com wrote:
On Thursday, April 21, 2011 4:16:07 PM UTC-7, John Meacham wrote:
Um, the patch theory is what makes darcs just work. There is no need
to understand it any more than you have to know VLSI design to
understand how your
On Mon, Apr 11, 2011 at 8:38 PM, Joel Burget joelbur...@gmail.com wrote:
Hello,
I've been working on an ffi library for the Assimp asset import library(
http://assimp.sourceforge.net). It should be useful for people doing
graphics in Haskell. I've been working on it so I can import models
* add support for opengl 4.x
* look at adding deprecation pragmas for deprecated opengl calls
* new hackage releases
* anything else that comes up
Thanks,
Jason
On Sun, Mar 27, 2011 at 2:11 PM, Jason Dagit dag...@gmail.com wrote:
I sent the message below to Haskell-Cafe about a week ago. I
#57 and #58 that make a case for removing OpenGL and GLUT
entirely from the platform. Tickets #57 and #58 seem to be old though.
If you have more information or I overlooked something, please let me know
:)
Thanks,
Jason
On Wed, Apr 6, 2011 at 2:32 PM, Jason Dagit dag...@gmail.com wrote
On Tue, Apr 5, 2011 at 2:02 PM, Svante Signell svante.sign...@telia.comwrote:
On Tue, 2011-04-05 at 09:43 +0200, Svante Signell wrote:
Hi,
I'm currently trying to upgrade Debian GNU/Hurd ghc6.8.2 to 6.10.1 (and
further from there, due to requirements of ghc and haddock versions),
and
On Mon, Apr 4, 2011 at 6:41 AM, Bas van Dijk v.dijk@gmail.com wrote:
Thanks for the clarification Daniel.
I just read[1] it's also possible to directly use Double and Float in
an FFI import declaration. I always assumed you could only use the C
types from Foreign.C.Types.
So I think
I think I got this idea from JHC, but I'm unable to find it documented in
the JHC manual at the moment. The idea is that when _ appears on the RHS of
an equation it is another name for undefined.
Here is a hypothetical example, inspired by code I've seen in FFI
definitions:
\begin{code}
{-#
On Mon, Apr 4, 2011 at 2:48 PM, Bas van Dijk v.dijk@gmail.com wrote:
On 4 April 2011 22:42, Jason Dagit dag...@gmail.com wrote:
Is this something people would be interested in having as an extension in
GHC? Or is it just too fluffy for anyone to really care?
I wish for having
I'm excited to announce the immediate availability of FreeType 2 bindings on
hackage. These bindings are based off the 2.4.4 release of FreeType 2 and
use the BSD licensing option for FreeType 2. This package should be of
interest to OpenGL users as it provides a way to get nice looking fonts
On Sun, Apr 3, 2011 at 4:21 PM, Jason Dagit dag...@gmail.com wrote:
I'm excited to announce the immediate availability of FreeType 2 bindings
on hackage. These bindings are based off the 2.4.4 release of FreeType 2
and use the BSD licensing option for FreeType 2. This package should
On Thu, Mar 31, 2011 at 7:07 PM, Kazu Yamamoto k...@iij.ad.jp wrote:
whoah, it has uninstall!!! awesome!
It just unregisters libraries not delete them actually. But I guess it
is enough for you.
The cabal-delete command does delete libraries and I'm planning to
integrate cab and
On Tue, Mar 29, 2011 at 11:52 PM, Michael Snoyman mich...@snoyman.comwrote:
Hi all,
I think this is a well-known issue: it seems that there is no
character decoding performed on the values returned from the functions
in System.Directory (getDirectoryContents specifically). I could
manually
On Tue, Mar 29, 2011 at 2:37 AM, Edward Z. Yang ezy...@mit.edu wrote:
Excerpts from Jason Dagit's message of Tue Mar 29 00:43:10 -0400 2011:
I was reading up on the documentation for alloca and friends[1], which
says,
If any of the allocation functions fails, a value of
nullPtr
On Tue, Mar 29, 2011 at 4:39 PM, Edward Kmett ekm...@gmail.com wrote:
On Tue, Mar 29, 2011 at 1:26 PM, Rogan Creswick cresw...@gmail.comwrote:
I've been wanting to share code between cabal projects for some time,
and I finally had a chance to write up the rough idea as a simple
proposal.
I was reading up on the documentation for alloca and friends[1], which says,
If any of the allocation functions fails, a value of
nullPtrhttp://www.haskell.org/ghc/docs/7.0.2/html/libraries/base-4.3.1.0/Foreign-Ptr.html#v:nullPtr
is
produced.
It seems like every example of FFI code that I find
On Mon, Mar 28, 2011 at 9:43 PM, Jason Dagit dag...@gmail.com wrote:
I'm on a 64bit version of windows here with more than 4GB of memory to spare
for the GHC process. Unfortunately, allocaBytes takes an Int so I can't test
it with a request larger than the amount of physical ram I have
First a bit of background. Sometimes I would like to be able to create
unboxed arrays of CFloats and GLfloats. Both of these are defined as
newtypes around types that can be unboxed (e.g., Float). I'm assuming GHC
here.
As far as I can tell, the newtyping is there to help programmers pick a
What is the nehe-tuts package?
In 1999 Jeff Molofee, aka NeHe, wrote a series of tutorials on how to get
started with basic OpenGL. In 2005, I ported the code for these tutorial
pages to Haskell. You can find NeHe's original tutorials here:
http://nehe.gamedev.net/default.asp
Since that time,
On Thu, Mar 24, 2011 at 1:49 AM, Daniel Díaz danield...@asofilak.es wrote:
Hi, cafe,
all I want is to read the unread portion of a handle, without blocking
waiting for an EOF or a newline. My first attempt was to try with
hGetBufNonBlocking from System.IO, and other functions that use it in
On Tue, Mar 22, 2011 at 1:11 AM, David MacIver da...@drmaciver.com wrote:
On 22 March 2011 02:00, Jesper Louis Andersen
jesper.louis.ander...@gmail.com wrote:
On Tue, Mar 22, 2011 at 00:59, David MacIver da...@drmaciver.com
wrote:
It's for rank aggregation - taking a bunch of partial
I've experienced very similar problems several times on both the ghc and
cabal trac instances. I think resetting your password is (or was) breaking
accounts.
Now I just stick to guest login accounts on all the haskell.org trac
instances.
Ideally, all the trac instances, haskell wiki and etc,
Hello,
It looks like the OpenGL packages on hackage[1,2,3,4] have not been updated
in some time. No updates later than Oct 2009. I tried to email Sven
directly using the email address listed on hackage but after about a week I
still haven't heard from him. I sent some patches to the opengl
On Wed, Jan 26, 2011 at 6:47 AM, Dmitry Olshansky olshansk...@gmail.comwrote:
Hello,
I have a problem with using Takusen in my current project because it uses
old QuickCheck 1.*. This leads to conflict with other packages which use
QuickCheck 2.*.
Could someone help me to decide this
On Tue, Dec 28, 2010 at 3:09 AM, o...@okmij.org wrote:
Maxime Henrion wrote:
I've been playing with some code to work with DFAs, but I'm now faced
with an implementation problem. In order to have states that can
transition to themselves, it seems I would need self-referential data;
On Fri, Dec 24, 2010 at 5:32 PM, Edward Z. Yang ezy...@mit.edu wrote:
Merry Christmas all!
Is it just me, or does the Control.Concurrent.MVar documentation seem a bit
misleading? In particular, we should explicitly note the race conditions
for not just swapMVar but also readMVar, withMVar,
On Wed, Dec 22, 2010 at 5:09 AM, Andrew Coppin
andrewcop...@btinternet.comwrote:
On 22/12/2010 11:08 AM, Eric Kow wrote:
Andrew,
Thanks for your report. Indeed, please direct future reports
to darcs-users or b...@darcs.net
That would require me to sign up to yet another mailing list just
This question is more appropriate on the darcs-users mailing list. I've
CC'd your message there.
Jason
On Tue, Dec 21, 2010 at 4:47 AM, Andrew Coppin
andrewcop...@btinternet.comwrote:
I'm running a VM with Ubuntu 10.10 (Maverick Meerkat). I installed Darcs
2.4.4 using apt-get, but it keeps
Hello,
I noticed today that the links in this article point to Haskell.org and they
are broken:
http://themonadreader.wordpress.com/previous-issues/
Maybe someone can fix this?
Thanks!
Jason
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
On Sun, Dec 5, 2010 at 9:00 AM, Brandon S Allbery KF8NH allb...@ece.cmu.edu
wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/4/10 21:35 , Jason Dagit wrote:
In that case, here you go:
http://twitter.com/statuses/user_timeline/216043045.rss
http://twitter.com/statuses
101 - 200 of 650 matches
Mail list logo