Hi George,
I didn't have access to my computer over the weekend, so I apologize for
not actually running the examples I provided. I was simply projecting what
I thought could reasonably be assumed about the behavior of a Set.
Data.Set.Monad's departure from those assumptions is a double-edged swor
On 20 June 2012 18:32, Albert Y. C. Lai wrote:
> On 12-06-20 07:59 PM, Hilco Wijbenga wrote:
>
>> hilco@centaur ~ ~$ rm -rf .cabal/
>
> I am not sure why you start with this.
>
> If you do this for a clean start, see my
> http://www.vex.net/~trebla/haskell/sicp.xhtml#remove
> for why it is not a c
Welcome to issue 232 of the HWN, an issue covering crowd-sourced bits
of information about Haskell from around the web. This issue covers the
week of June 10 to 16, 2012.
Quotes of the Week
* irene-knapp: ewtoombs: the universe is already an interactive
quantum physics simula
On 20 June 2012 18:22, Oliver Batchelor wrote:
> Check the error given by cairo.
>
> cabal install cairo-0.12.3.1
Well, it wasn't cairo that was the problem but ...
> You probably need to put the .cabal/bin in your PATH, so that the
> tools such as c2hs can run.
... indeed, adding .cabal/bin t
On 12-06-20 07:59 PM, Hilco Wijbenga wrote:
hilco@centaur ~ ~$ rm -rf .cabal/
I am not sure why you start with this.
If you do this for a clean start, see my
http://www.vex.net/~trebla/haskell/sicp.xhtml#remove
for why it is not a clean start.
If you do this for some other purpose, nevermind
Hi Hamish,
On 19 June 2012 22:47, Hamish Mackenzie
wrote:
> This release has an important bug fix for the metadata download.
> When metadata was downloaded using libcurl it was not treated
> as binary data. If you used one of our binary installers or if you
> built Leksah with the -flibcurl flag
Hi Chris,
I'm also wondering about this issue:
>> - How do you handle packages that depend on system libraries? "hsdns",
>> for example, requires the adns library to build. Does Hub know about
>> this?
Does Hub know about system-level libraries that Haskell packages need to
build
I published a blog for C++ programmers about the advantages of using the
continuation monad in dealing with asynchronous API, concurrency, and
parallelism. I explained the concepts in Haskell and the translated them
into C++.
http://fpcomplete.com/asynchronous-api-in-c-and-the-continuation-monad/
[Sorry for the delay -- I missed this reply until prompted.]
>Very nice, this looks quite straightforward. I wonder about two things:
> - Is it possible to pass configure-time flags to those libraries? For
> example, I would like to build "haskeline" with "-fterminfo". Can
Hub
>
Just for the record:
I compiled with GHC and got the linker error:
/usr/bin/ld: dist/build/.../Module.dyn_o: relocation R_X86_64_PC32 against
undefined symbol `..._xyz1_closure' can not be used when making a shared
object; recompile with -fPIC
Problem was that I forgot to declare Module in
I found myself writing the code below today, and thought I'd write to see if
there's a better way, perhaps one that doesn't use unsafePerformIO.
A sample use case for this is a program that reads a FilePath from a Handle,
and then operates on that file on disk. GHC uses a special encoding for
File
On 20/06/2012 6:56 AM, Henning Thielemann wrote:
QuickCheck is Haskell-98 and thus is very portable. I see that
GenCheck needs some more extensions - type families, multi-parameter
type classes, what else?
FlexibleContexts and FlexibleInstances.
However, I am fairly sure that the multi-parame
Krzysztof Skrzętnicki writes:
> Hi,
>
> Are there any news how things are going?
>
Things have been pretty stagnant yet again. I was more than a bit
over-optimistic concerning the amount of time I'd have available to put
into this project. Moreover, the tasks required to get Hackage into a
usable
My example was somewhat wrong, since it only works with runghc >= 7.0
and not <7.
Here a better example which has exactly the same issues as my code.
Main.hs:
module Main where
import Main1
main = main1
Main1.hs:
module Main1 (main1, add) where
import System.Plugins
add = (+1)
main1 :: IO ()
I compile the files dynamically, so the compiler version is out of the
question. I already tested -O0.
In the modules I dynamically load, I import some of the modules the
main program also uses. I can reproduce the exact same error with this
simple example:
Main.hs:
module Main (main, add) where
I really have no idea. I am the new plugins maintainer -- but so far
that mostly means I am willing to apply darcs patches and uploading
things to hackage. I have not had a chance to really dig into plugins.
I will now make some wild guesses.
1. does it matter if you compile with -O2 vs -O0 ?
On Tue, 19 Jun 2012, Jacques Carette wrote:
Its main novel features are:
* introduces a number of /testing strategies/ and /strategy combinators/
* introduces a variety of test execution methods
* guarantees uniform sampling (at each rank) for the random strategy
* guarantees both uniqueness a
17 matches
Mail list logo