Re: [Haskell-cafe] Value-weak hash tables in Haskell ?

2013-08-10 Thread Trevor L. McDonell
This paper explains how to implement them and gives example code: http://community.haskell.org/~simonmar/papers/weak.pdf I'm not aware of a package that does it for you, but I implemented one as part of my own work so that may be able to provide another example. Cheers, -Trev On 11/08/2013,

Re: [Haskell-cafe] Some philosophy

2013-08-10 Thread Jerzy Karczmarczuk
Kim-Ee Yeoh comments my reading suggestion: "Indiscrete Thoughts" by Gian-Carlo Rota, published by Birkhäuser in 1997. Available on the Web. [I forgot where] I'm rather fond of Rota's two volumes of musings. For the purpose of furthering the quality of philosophizing, would it not be

Re: [Haskell-cafe] Rank N Kinds

2013-08-10 Thread Wvv
Paradoxes there are at logic and math. At programing languages we have bugs or features :)) Higher universe levels are needed first of all for more abstract programming. P.S. By the way, we don't need have extra TupleList, we have already list! t3 :: [ (Int :: **) -> (Bool -> Bool -> Bool :: **

Re: [Haskell-cafe] Value-weak hash tables in Haskell ?

2013-08-10 Thread Alessandro Vermeulen
There is supposed to be some weak hash map implementation somewhere. However, if you can't find it you can easily create it yourself. However, you will need to use the map in IO so I suggest that you use the hashtables[1] package in combination with the weak pointers mentioned by Erik. - Alessa

Re: [Haskell-cafe] Renumbered mailing list posts

2013-08-10 Thread Austin Seipp
Henning, Thanks for the report. I'm currently investigating this, and think it should be possible to keep all of the old URLs intact. On Sat, Aug 10, 2013 at 11:01 AM, Niklas Hambüchen wrote: > On 11/08/13 00:50, Brandon Allbery wrote: >> Those at least are recoverable, just replace hpaste.org >

Re: [Haskell-cafe] Value-weak hash tables in Haskell ?

2013-08-10 Thread Erik Hesselink
I'm not sure, but there are weak pointer [0], though I have never used them. Erik [0] http://www.haskell.org/ghc/docs/latest/html/libraries/base/System-Mem-Weak.html On Sat, Aug 10, 2013 at 7:13 PM, Aleksey Uymanov wrote: > Hello, haskellers. > > Is there any package implementing magic hash ta

Re: [Haskell-cafe] llvm on macos

2013-08-10 Thread Ozgur Akgun
Hi. On 10 August 2013 18:20, Brandon Allbery wrote: > There may be some support for requesting specific versions from Homebrew. Try `brew versions llvm`. Then, you'll need to run the git checkout command in `brew --prefix` directory. I am using llvm 3.2 because I had a few ghc related problem

Re: [Haskell-cafe] Installling Leksah on ghc7.6.3 with haskell-platform 2013?

2013-08-10 Thread Hamish Mackenzie
On 10 Aug 2013, at 14:10, Carlo Hamalainen wrote: > Unable to checkout '8d05f0913cca3fdcf424e818220b0370591b0b29' in submodule > path 'vendor/yi' > > > So maybe something needs to be pushed/committed from a submodule? Oops yes I added that to do some experimenting with Yi and Gtk3. I have p

Re: [Haskell-cafe] llvm on macos

2013-08-10 Thread Brandon Allbery
On Sat, Aug 10, 2013 at 12:53 PM, Dominic Steinitz wrote: > Thank you very much. I used Homebrew. Now I can compile albeit with a > warning. I have yet to try running it. > > Loading package repa-3.2.3.1 ... linking ... done. > You are using a new version of LLVM that hasn't been tested yet! > We

[Haskell-cafe] Value-weak hash tables in Haskell ?

2013-08-10 Thread Aleksey Uymanov
Hello, haskellers. Is there any package implementing magic hash tables weak in value? I mean when the value is garbage collected, then this key+value authomatically removes from the hash table. -- Aleksey Uymanov ___ Haskell-Cafe mailing list Haskell

Re: [Haskell-cafe] llvm on macos

2013-08-10 Thread Dominic Steinitz
Thank you very much. I used Homebrew. Now I can compile albeit with a warning. I have yet to try running it. > Loading package repa-3.2.3.1 ... linking ... done. > You are using a new version of LLVM that hasn't been tested yet! > We will try though... Dominic Steinitz domi...@steinitz.org http

Re: [Haskell-cafe] Renumbered mailing list posts

2013-08-10 Thread Niklas Hambüchen
On 11/08/13 00:50, Brandon Allbery wrote: > Those at least are recoverable, just replace hpaste.org > with lpaste.net (content is > still there). But still. Unfortunately I cannot amend emails that I have sent. Could we not just have kept the domain and set

Re: [Haskell-cafe] Renumbered mailing list posts

2013-08-10 Thread Brandon Allbery
On Sat, Aug 10, 2013 at 11:38 AM, Niklas Hambüchen wrote: > (Also fact that hpaste just went away, invalidating all my links to > hpastes, is similarly bad.) Those at least are recoverable, just replace hpaste.org with lpaste.net(content is still there). But still. -- brandon s allbery kf8nh

Re: [Haskell-cafe] Renumbered mailing list posts

2013-08-10 Thread Niklas Hambüchen
Yes, I also found that links from Google to archives don't work any more. (Also fact that hpaste just went away, invalidating all my links to hpastes, is similarly bad.) On Sat 10 Aug 2013 17:49:35 JST, Henning Thielemann wrote: > Recently I found that links from Google search results to archiv

Re: [Haskell-cafe] llvm on macos

2013-08-10 Thread Brandon Allbery
On Sat, Aug 10, 2013 at 7:39 AM, Dominic Steinitz wrote: > : > Warning: Couldn't figure out LLVM version! > Make sure you have installed LLVM > ghc: could not execute: opt > > The ghc documentation > ( > http://www.haskell.org/ghc/docs/7.6.1/html/users_guide/code-generators.html >

Re: [Haskell-cafe] Renumbered mailing list posts

2013-08-10 Thread Gershom Bazerman
On 8/10/13 4:49 AM, Henning Thielemann wrote: Recently I found that links from Google search results to archive Haskell-Cafe messages are invalid. The messages are still there, but got a different number. E.g. the search result says: http://www.haskell.org/pipermail/haskell-cafe/2011-February/0

[Haskell-cafe] llvm on macos

2013-08-10 Thread Dominic Steinitz
I am trying to use llvm but am being told I don't have llvm installed. Dominics-MacBook-Pro:Laplace dom$ ghc src-repa/Main.hs -rtsopts -threaded -eventlog -Odph -fllvm -optlo-O3 -fno-liberate-case -isrc-repa [1 of 3] Compiling SolverStencil( src-repa/SolverStencil.hs, src-repa/SolverStencil.

[Haskell-cafe] Renumbered mailing list posts

2013-08-10 Thread Henning Thielemann
Recently I found that links from Google search results to archive Haskell-Cafe messages are invalid. The messages are still there, but got a different number. E.g. the search result says: http://www.haskell.org/pipermail/haskell-cafe/2011-February/089455.html But the message is at http://ww