[Haskell-cafe] Improving GHC's LLVM Backend

2013-06-28 Thread Alex Ford
it if anyone who knows about the Haskell LLVM bindings or about the GHC LLVM backend could give any advice regarding what sort of work needs to be done with the LLVM bindings to make them more appropriate for use within GHC, or how to approach modifying the existing LLVM backend. Many thanks, Alex

[Haskell-cafe] Is OpenAL unqueueBuffers implemented correctly?

2012-12-24 Thread alex
] unqueueBuffers source nbuffers = allocaArray nbuffers $ \ptr - do alSourceUnqueueBuffers source (fromIntegral nbuffers) ptr peekArray nbuffers ptr I just started using OpenAL, so I might be misunderstanding how this is supposed to work. Thanks, Alex Midgley

Re: [Haskell-cafe] Strange behavior with listArray

2012-11-14 Thread Alex Stangl
abbaabba My hat's off to you, sir. This is kind of interesting -- I would normally consider this indexing transformation as an approach for defeating memoization, yet in this case it serves as the key that makes the broader memoization possible, lifting it up a level. Thanks! Alex P.S. A side

Re: [Haskell-cafe] Strange behavior with listArray

2012-11-13 Thread Alex Stangl
On Tue, Nov 13, 2012 at 08:06:59AM -, o...@okmij.org wrote: Alex Stangl posed a problem of trying to efficiently memoize a function without causing divergence: ... But the problem can be fixed: after all, f k is a list of integers. A list is an indexable collection. Let us introduce

Re: [Haskell-cafe] Strange behavior with listArray

2012-11-12 Thread Alex Stangl
On Mon, Nov 12, 2012 at 08:36:49AM +0100, Bas van Dijk wrote: On 12 November 2012 04:50, Alex Stangl a...@stangl.us wrote: I'm stymied trying to figure out why the program below blows up with loop when I use f 0 If you replace the a!0 in f by its value 0, f is equivalent to: f

Re: [Haskell-cafe] Strange behavior with listArray

2012-11-12 Thread Alex Stangl
On Mon, Nov 12, 2012 at 02:52:28PM +0100, Daniel Fischer wrote: The problem, Alex, is that f k = if k 0 then f (a!0) else 0 : f 1 is strict, it needs to know the value of (a!0) to decide which branch to take. But the construction of the array a needs to know how long

[Haskell-cafe] Strange behavior with listArray

2012-11-11 Thread Alex Stangl
I'm stymied trying to figure out why the program below blows up with loop when I use f 0 for building the array, but if I substitute g or h in place of f, they work fine. Is this a bug or am I overlooking something? I am using GHC 7.4.2. Thanks, Alex P.S. Forgive the seemingly pointless program

Re: [Haskell-cafe] Building all possible element combinations from N lists.

2012-10-25 Thread Alex Stangl
of the N lists. combos [] = [[]] combos ([]:ls) = combos ls combos ((h:t):ls) = map (h:) (combos ls) ++ combos (t:ls) Drop last element if you don't want to include the empty set. It wouldn't be as elegant, but you can translate this to Java. Alex

Re: [Haskell-cafe] Building all possible element combinations from N lists.

2012-10-25 Thread Alex Stangl
On Thu, Oct 25, 2012 at 06:34:53PM -0400, Jake McArthur wrote: I golfed a bit. :) sequence = filterM (const [False ..]) I was thinking of golfing this myself tonight, but probably wouldn't have come up with this. Thanks for sparing me the effort. Bravo! Alex

[Haskell-cafe] testing if values can be applied to polymorphic functions

2012-10-22 Thread alex
a) = [a])) I guess funResultTy doesn't work when polymorphism is involved.. Perhaps I could just use the ghc-as-a-library stuff to parse and typecheck code - would that be the way forward? Any pointers much appreciated! Best wishes alex -- http://yaxu.org

Re: [Haskell-cafe] Long pauses / idle time in a Haskell TCP server

2012-10-09 Thread Alex Iliev
so one doesn't necessarily need to use thread pools like in some other languages. Now I can play with those variations without distraction from long pauses. And I'll grab your latest from github and try that out. Thanks! Alex On Mon, Oct 8, 2012 at 6:41 PM, Jamie Turner ja...@bu.mp wrote: I'm

[Haskell-cafe] Long pauses / idle time in a Haskell TCP server

2012-10-08 Thread Alex Iliev
aspect of CPU scheduling, leaving the program idle for some time? I can put the code on github if it would help. Many thanks! Alex [1] http://hackage.haskell.org/package/scalable-server-0.2.2 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] List indexer

2012-10-01 Thread Alex Stangl
Criterion) and put it all on github, along with the latest version of the list index code. http://github.com/astangl/list-index Regards, Alex ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Tutorial: Haskell for the Evil Genius

2012-09-14 Thread Alex Stangl
do you guys think of my tutorial, Haskell for the Evil Genius http://www.yellosoft.us/evilgenius/? Hopefully you'll get more feedback here, although my recent post here soliciting feedback netted me nothing. FWIW, my feedback is below. Alex Under Declarative, you aren't creating a named

Re: [Haskell-cafe] Tutorial: Haskell for the Evil Genius

2012-09-14 Thread Alex Stangl
OK, but it's hard for me to put myself into the mindset of somebody encountering the material for the first time. Putting an appropriate quote under headings is a nice touch. Alex ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] List indexer

2012-09-08 Thread Alex Stangl
it on hackage (or at least github) if people think it's useful. It sped up the program I initally wrote it for enormously. Thanks, Alex {- | Module : ListIndex Description : list indexer, providing fast random list lookup Copyright : (c) Alex Stangl 2012 License : BSD3 Maintainer

[Haskell-cafe] Using syntactic to implement the lambda calculus

2012-07-03 Thread Alex Rozenshteyn
) - VInt $ x1 + x2 _ - error illegal addition -- Alex R ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] [Announce] AusHac 2012 - The Aussie Haskell Hackathon

2012-06-14 Thread Alex Mason
, the more awesome it will be. We hope to see you there! Cheers, Alex Mason and Ivan Miljenovic ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Using Data Types a la Carte

2012-04-19 Thread Alex Rozenshteyn
the DTalaC style: syntactic and compdata. Alternatively, I can write the common code myself. Does anyone have recommendations for which one to use, and any materials for learning to use them? --           Alex R ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] Loading a texture in OpenGL

2012-02-07 Thread Alex Mason
called unless all threads have released it, I think). Cheers, Alex On 8 February 2012 15:02, Clark Gaebel cgae...@csclub.uwaterloo.ca wrote: Sounds hairy. Is there any way to get reference counting garbage collection in Haskell? On Tue, Feb 7, 2012 at 9:26 AM, L Corbijn aspergesoe

[Haskell-cafe] [ANNOUNCE] CoreErlang-0.0.2 + maintainer change

2011-11-07 Thread Alex Kropivny
, but it's nice for static source analysis - and when someone decides they want to compile a new language to the ERTS, the package is ready... Regards, Alex Kropivny ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] Message

2011-11-07 Thread Alex Kropivny
Short answer: no, and what it gives is quite different. Long answer: Erlang gives me two things that are hard to replicate: 1. firm-realtime performance, even at high load: the distributed GC is very nice 2. a very well defined model for handling, and recovering from failure Hot code reload is

[Haskell-cafe] New CoreErlang maintainer + patch

2011-11-05 Thread Alex Kropivny
uploaded. I would like to take over maintenance of the package, and upload the fix ASAP. Regards, Alex Kropivny [1] https://github.com/amtal/CoreErlang/tree/0.0.2 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: [Haskell-cafe] Message

2011-10-21 Thread Alex Kropivny
Let's look at this from a high, project management level. Twitter ran on... Ruby initially? Facebook ran on PHP. Immediately this tells me that programming language choice wasn't a factor in their success. One succeeded in building a large throughput system with a slow language, the other

Re: [Haskell-cafe] Message

2011-10-21 Thread Alex Kropivny
: That's interesting, have you ever worked on interfacing Erlang with Haskell? BTW, Twitter switched to Scala, so obviously their initial choice of Ruby end up invalidated. 2011/10/21 Alex Kropivny alex.kropi...@gmail.com Let's look at this from a high, project management level. Twitter ran

[Haskell-cafe] Is there a DFA library?

2011-10-07 Thread Alex Rozenshteyn
I couldn't find one on hackage that isn't better described as a RegEx library. I'm looking for things like minimization, completion, etc. kinda like http://www.cis.upenn.edu/~cis639/docs/xfst.html However, I may have just missed it. -- Alex R

[Haskell-cafe] Regular Expression Parsing via derivatives

2011-08-01 Thread Alex Clemmer
haskell list, but wasn't sure how people would respond. -- Alex ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Regular Expression Parsing via derivatives

2011-08-01 Thread Alex Clemmer
...@gmail.com wrote: On Mon, Aug 1, 2011 at 10:51 AM, Alex Clemmer clemmer.alexan...@gmail.com wrote: Hi Haskell people, I've been snooping through various mailing lists and the current Haskell implementation of regular expressions and I was wondering if there has been a discussion about

Re: [Haskell-cafe] yi + cabal-dev

2011-06-22 Thread Alex Rozenshteyn
From looking at Yi's code, there seems to be a hard-coded list of arguments to pass to ghc. A hack would be to recompile Yi with the arguments to use a different package database... On Wed, Jun 22, 2011 at 2:32 AM, Rogan Creswick cresw...@gmail.com wrote: On Tue, Jun 21, 2011 at 6:55 PM, Alex

Re: [Haskell-cafe] yi + cabal-dev

2011-06-22 Thread Alex Rozenshteyn
differently. While amusing, I'd rather not. On Wed, Jun 22, 2011 at 3:42 AM, Rogan Creswick cresw...@gmail.com wrote: On Tue, Jun 21, 2011 at 11:59 PM, Alex Rozenshteyn rpglove...@gmail.com wrote: From looking at Yi's code, there seems to be a hard-coded list of arguments to pass to ghc. A hack

[Haskell-cafe] yi + cabal-dev

2011-06-21 Thread Alex Rozenshteyn
a similar setup to work, or does anyone have any suggestions? -- Alex R ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Category theory as a design tool

2011-06-21 Thread Alex Rozenshteyn
Funny, I didn't hear anyone say Candlejack. What abou ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] AusHac2011 - The Australasian Haskell Hackathon - July 8-10

2011-06-20 Thread Alex Mason
. -- Alex Mason -- Attention all Australasian Haskellers! After last year’s fantastic turnout for the first Australian Haskell Hackathon - AusHac 2010 - we’ve decided to organise another. As it’s rather boring

Re: [Haskell-cafe] Erlang's module discussion

2011-05-28 Thread Alex Kropivny
Regardless of how crazy it sounds, an idea from Joe Armstrong is worth seriously thinking over. This has bugged me before: think about how we design and write code as project size, or programmer skill grows. You start with composing statements inside a single function; later, you start to compose

Re: [Haskell-cafe] Erlang's module discussion

2011-05-28 Thread Alex Rozenshteyn
at 6:17 AM, Brandon Allbery allber...@gmail.comwrote: On Sat, May 28, 2011 at 05:12, Alex Kropivny alex.kropi...@gmail.com wrote: Regardless of how crazy it sounds, an idea from Joe Armstrong is worth seriously thinking over. Possibly, but this is just another manifestation of a general

Re: [Haskell-cafe] Parallel compilation and execution?

2011-05-27 Thread Alex Mason
been having a lot of fun over the last few weeks playing with OpenMP for a university assignment, and I've got to say I greatly prefer the haskell way of doing things. Cheers, Alex Mason On 27/05/2011, at 10:23, michael rice wrote: Are the tools of Control.Parallel comparable to OpenMP

Re: [Haskell-cafe] ANNOUNCE: iterIO-0.1 - iteratee-based IO with pipe operators

2011-05-06 Thread Alex Mason
on the Producer/Transformer/Consumer trilogy. I'd love to hear thoughts on the issue, especially from David. Cheers, Alex Mason On 06/05/2011, at 20:17, Maciej Marcin Piechotka wrote: On Thu, 2011-05-05 at 21:15 -0700, David Mazieres wrote: Hi, everyone. I'm pleased to announce the release of a new

[Haskell-cafe] Announcing AusHac 2011 - The second annual Australian Haskell Hackathon (July 8-10)

2011-04-17 Thread Alex Mason
enjoy yourself, registration comes with a money-back guarantee! Hope to see you there, -- Alex Mason and Ivan Miljenovic, AusHac organisers P.S: If you have received this email directly, it is because you have shown previous interest in AusHac by signing up via the previous signup. If you

Re: [Haskell-cafe] Parsing Haskell in Parsec

2011-03-21 Thread Alex Rozenshteyn
Thank you, everyone, for the suggestions. On Mon, Mar 21, 2011 at 12:28 PM, Johannes Waldmann waldm...@imn.htwk-leipzig.de wrote: Alex Rozenshteyn rpglover64 at gmail.com writes: as part of a larger project of porting http://www.cs.jhu.edu/~scott/pl/book/dist/ from ocaml to Haskell

[Haskell-cafe] Parsing Haskell in Parsec

2011-03-19 Thread Alex Rozenshteyn
. -- Alex R ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] X11 package bug: XClientMessageEvent long data

2011-03-15 Thread Dylan Alex Simon
Does anyone know the current maintenance status of the X11 package? I emailed Spencer Janssen a number of months ago and never heard back. So, I'll put this here in case any one else runs into it or can get it to the right place. This is a proposed bug fix for a problem I ran into using xmonad

[Haskell-cafe] Abstracting a Genetic Algorithm

2011-02-15 Thread Alex Good
I've copied this from http://stackoverflow.com/questions/5010267/haskell-abstracting-a-genetic-algorithm as someone suggested that it might spark an interesting discussion I'm new to the world of Haskell programming and I'm cutting my teeth on a simple genetic algorithm for finding good

Re: [Haskell-cafe] parsing exercise

2011-01-22 Thread Alex Rozenshteyn
@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Alex R ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] problem with haskell-mode mailing list?

2011-01-08 Thread Alex Ott
to mailing list with error that google mail server couldn't connect to haskell.org's mail server. If somebody could help me with this problem, please contact me - I'll provide more details on this issue -- With best wishes, Alex Ott, MBA http://alexott.blogspot.com/http://alexott.net/ http

Re: [Haskell-cafe] What's the best seed for random API ?

2011-01-05 Thread Alex Rozenshteyn
-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Alex R ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] How about Haskell Golf just like vimgolf.com

2011-01-03 Thread Alex Kropivny
or whatever) but would be amazing for learning good Haskell if it got off the ground! On Mon, Jan 3, 2011 at 8:19 AM, Ertugrul Soeylemez e...@ertes.de wrote: Alex Kropivny alex.kropi...@gmail.com wrote: Could something like code abstraction be done instead? Haskell lends itself to solving

Re: [Haskell-cafe] How about Haskell Golf just like vimgolf.com

2011-01-02 Thread Alex Kropivny
Could something like code abstraction be done instead? Haskell lends itself to solving problems in really generic, high level ways that reveal a LOT about the underlying problem structure. Through some combination of descriptive data types, generic type classes, and generic helper functions...

[Haskell-cafe] Weird error during derive-2.3.0.2 build

2010-12-12 Thread Alex
using ubuntu maverick 32-bit, with ghc-6.12.1 and cabal-install 0.8.2. The ghc was installed from the package repository. Cabal was installed using: cabal-install cabal Alex. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] Question about TagSoup

2010-12-03 Thread Alex Rozenshteyn
modif (x:xs) = x : modif xs David. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Alex R ___ Haskell-Cafe mailing list

[Haskell-cafe] date parsing and formatting

2010-11-15 Thread Alex Baranosky
this? Also, I'd like to print out my Day in this format: 12/4/1999 what's the Haskell way to? Thanks for the help. Alex ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Layered maps

2010-10-09 Thread Alex Rozenshteyn
that. I'm planning to port the code *after* I have the assignment finished. On Fri, Oct 8, 2010 at 11:18 PM, wren ng thornton w...@freegeek.org wrote: On 10/8/10 5:46 PM, Thomas DuBuisson wrote: Alex, The containers library can do this already - there are no constraints on the elements

Re: [Haskell-cafe] Layered maps

2010-10-09 Thread Alex Rozenshteyn
a perfect job for a trie, so that's what I think you should look into. - Jake ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Alex R

[Haskell-cafe] Layered maps

2010-10-08 Thread Alex Rozenshteyn
Does there exist a library which allows me to have maps whose elements are maps whose elements ... with a convenient syntax. Alternatively, does there exist a library like Data.Tree where forests are sets rather than lists? -- Alex R

[Haskell-cafe] ANNOUNCE: atomo 0.1, a simple, adventurous programming language

2010-09-30 Thread Alex Suraci
are always available: Documentation: http://atomo-lang.org/docs/ (work-in-progress) Repository: http://darcsden.com/alex/atomo Examples: http://darcsden.com/alex/atomo/browse/examples I recommend the generators example if you want some mind-bending, or html.atomo for a nice EDSL, or web.(atomo

[Haskell-cafe] Memoization/call-by-need

2010-09-15 Thread Alex Rozenshteyn
with memoization I understand that fib50 = slowFib 50 will take a while to run the first time but be instant each subsequent call; does this count as memoization? (I'm trying to understand Purely Functional Data Structures, hence this question) -- Alex R

Re: [Haskell-cafe] Google AI Challenge: Planet Wars - Accepting Haskell Submissions

2010-09-10 Thread Alex Kropivny
The previous AI challenge (tron) was a lot of fun. I suspect the experience they gained from running the last one, will make this an exciting contest. Haskell fared well in the last contest, despite it favouring fast C/C++ implementations due to a focus on classic minimax/pruning. The current

Re: [Haskell-cafe] random-fu confusion

2010-09-07 Thread Alex Rozenshteyn
it took so long responding. -- James On Sep 2, 2010, at 10:01 AM, Alex Rozenshteyn wrote: I seem to be having confusion at the runRVar level of random-fu. I can't figure out how to use the Data.Random.Source.PureMT module to get a meaningful random source (I can't get my code to type-check

[Haskell-cafe] random-fu confusion

2010-09-02 Thread Alex Rozenshteyn
in the final place of runRVar :t runRVar (replicateM 20 flipCoin) runRVar (replicateM 20 flipCoin) :: (RandomSource m s) = s - m [Bool] -- Alex R ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

[Haskell-cafe] Partial Signatures with Implicit Parameters

2010-08-30 Thread Alex Rozenshteyn
about using this approach with implicit parameters, or am I probably just doing something wrong? P.S. I decided to ask this here instead of in the xmonad mailing list because I feel like this is a question about haskell that was only slightly inspired by my use of xmonad. -- Alex R

Re: [Haskell-cafe] Deprecated gtk2hs functions

2010-08-16 Thread Alex Rozenshteyn
comments? andrew On Fri, 2010-07-16 at 17:44 -0400, Alex Rozenshteyn wrote: More like buttonActivated [1]. Has it been decided that button-specific events are going to be deprecated in favor of their general widget equivalents, with buttonActivated being an (IMO) awkward title

Re: [Haskell-cafe] Couple of questions about *let* within *do*

2010-08-10 Thread Alex Stangl
s4 let x3 = e3 x4 = e4 in do s5 s6? do s1 s2 let x1 = e1 x2 = e2 in do s3 s4 let x3 = e3 x4 = e4 in do s5 s6 HTH, Alex

Re: [Haskell-cafe] Suggestions For An Intro To Monads Talk.

2010-08-06 Thread Alex Stangl
this easy. I first encountered monads in OCaml. And the concept exists in other languages, although maybe not always explicitly by that name. Good luck, should be a good talk, Alex ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] Can we come out of a monad?

2010-07-30 Thread Alex Rozenshteyn
/mailman/listinfo/haskell-cafe -- Alex R ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Heavy lift-ing

2010-07-23 Thread Alex Stangl
But how does one add [0,1] and [0,2] to get [0,2,1,3]? It depends upon the semantics of the particular monad. List monads represent nondeterminism. So, for example, [0,1] represents a 0 or 1, and [0,2] represents a 0 or 2. When you add 0 or 1 to 0 or 2, your possible answers are [0,2,1,3]. Alex

Re: [Haskell-cafe] Heavy lift-ing

2010-07-23 Thread Alex Stangl
, even though some values of a may be zero? Alex ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Deprecated gtk2hs functions

2010-07-16 Thread Alex Rozenshteyn
. Am I simply being blind? -- Alex R ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Deprecated gtk2hs functions

2010-07-16 Thread Alex Rozenshteyn
/Graphics-UI-Gtk-Abstract-Widget.html#v%3AexposeEvent On Fri, Jul 16, 2010 at 11:36 AM, Alex Rozenshteyn rpglove...@gmail.com wrote: I recently started playing around with gtk2hs. I noticed that `onClicked`, `afterClicked`, etc. functions have been deprecated, presumably in favor

[Haskell-cafe] Re: Comments on Haskell 2010 Report

2010-07-14 Thread Alex Stangl
correctly. I can't see that - perhaps it has been fixed already. Check the failure codes for hSeek. It was still there in the HTML version, at least, when I checked this morning. Thanks, Alex ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] Comments on Haskell 2010 Report

2010-07-09 Thread Alex Stangl
, since, as you point out, it's a matter of ongoing debate. What I don't understand is why for y /= 0, 0**y would be undefined. Maybe the discontinuity at zero is undesirable. Alex ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] Comments on Haskell 2010 Report

2010-07-08 Thread Alex Stangl
occurs during the closing of the handle. Oftentimes systems lose the primary exception and propagate out the secondary exception, whereas in reality we may be more interested in the original primary exception. 25. In section 41.4.4, bullet before isPermissionError isn't rendered correctly. Alex

[Haskell-cafe] AusHac2010, the first Australian Haskell Hackathon is growing near, and we need you!

2010-06-24 Thread Alex Mason
this new 2.0 version of the sign up form If you have questions, please feel free to email me or Ivan (our addresses are the reply-to addresses for this email... I hope), or talk to us (Axman6, ivanm) on #haskell. Cheers, Alex Mason___ Haskell-Cafe

Re: [Haskell-cafe] Haskell on Debian

2010-04-05 Thread Alex Rozenshteyn
Anyone? On Wed, Mar 31, 2010 at 9:18 PM, Alex Rozenshteyn rpglove...@gmail.comwrote: $ ghc-pkg check outputs nothing $ ghc-pkg list unix /var/lib/ghc-6.12.1/package.conf.d unix-2.4.0.0 /home/alex/.ghc/x86_64-linux-6.12.1/package.conf.d unix appears to be in the build-depends

Re: [Haskell-cafe] Haskell on Debian

2010-04-05 Thread Alex Rozenshteyn
phase. The exception was: ExitFailure 1 On Mon, Apr 5, 2010 at 11:25 AM, Daniel Fischer daniel.is.fisc...@web.dewrote: Am Montag 05 April 2010 17:19:35 schrieb Alex Rozenshteyn: Anyone? base isn't listed among the build-depends of the executable, so the obvious thing is to add base to the build

[Haskell-cafe] True Random Numbers

2010-04-03 Thread Alex Rozenshteyn
Does haskell have a way of using /dev/random to generate random *things*? Currently I'm just reading the data into a byte string, converting it into bits, and keeping track of it in the state monad. -- Alex R ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Re: True Random Numbers

2010-04-03 Thread Alex Rozenshteyn
list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Alex R ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: True Random Numbers

2010-04-03 Thread Alex Rozenshteyn
Looking over the random-fu package, I think it might have what I'm looking for (and a lot that I'm not). On Sat, Apr 3, 2010 at 6:27 PM, Gökhan San g...@stillpsycho.net wrote: Alex Rozenshteyn rpglove...@gmail.com writes: The Rand monad you linked seems to be a step in the right direction

[Haskell-cafe] Haskell on Debian

2010-03-31 Thread Alex Rozenshteyn
for fixing this issue other than just adding unix to the lambdabot.cabal file? -- Alex R ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Haskell on Debian

2010-03-31 Thread Alex Rozenshteyn
$ ghc-pkg check outputs nothing $ ghc-pkg list unix /var/lib/ghc-6.12.1/package.conf.d unix-2.4.0.0 /home/alex/.ghc/x86_64-linux-6.12.1/package.conf.d unix appears to be in the build-depends of the Library, but not in the build-depends of Executable lambdabot Adding unix to the second build

Re: [Haskell-cafe] existentially quantified data types - restrictions

2010-03-25 Thread Alex Rozenshteyn
-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Alex R

[Haskell-cafe] ANNOUNCE: AusHac2010

2010-03-17 Thread Alex Mason
cool code, help out the community, and just meet an awesome bunch of like minded people, then we want to hear from you! Cheers, Alex Mason___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Proposal: Australian Hackathon

2010-03-16 Thread Alex Mason
* A plotting library using Ben's newly released Gloss library (for people who can't or won't install Gtk2Hs to get Chart working; Alex Mason is interested in this) * Various graph-related project (graphviz, generic graph class, etc.; this assumes someone else apart from me cares about

Re: [Haskell-cafe] Proposal: Australian Hackathon

2010-03-16 Thread Alex Mason
(http://www.haskell.org/haskellwiki/OzHaskell) but nothing seems to have eventuated out of it. In terms of projects, here are some ideas: * A plotting library using Ben's newly released Gloss library (for people who can't or won't install Gtk2Hs to get Chart working; Alex Mason is interested

Re: [Haskell-cafe] Prelude.undefined

2010-03-02 Thread Alex MDC
an undefined exception is raised. The options are :set -fbreak-on-exception or -fbreak-on-error. More info in the documentation at http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-debugger.html#ghci-debugger-exceptions Hope that helps, Alex MDC

Re: [Haskell-cafe] Simple but interesting (for me) problem

2009-10-21 Thread Alex Queiroz
as you know, is not kosher... This is different because counter is global. Cheers, -- -alex http://www.ventonegro.org/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Creating an alias for a function

2009-10-06 Thread Alex Queiroz
::  [a] - a car x = head x The reason for doing this is to more closely mirror legacy code. Just do: car = head -- -alex http://www.ventonegro.org/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: [Haskell-cafe] Haskell for Physicists

2009-09-30 Thread Alex Queiroz
the use of Haskell to substitute C or Fortran in a lot of tasks, and how it can be used in some problems instead of Matlab, Mathematica, etc.) Haskell for physicists ? -- -alex http://www.ventonegro.org/ ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] why does the binary library require so much memory?

2009-08-16 Thread Alex Mason
Hi Don, I was wondering if perhaps this might be a slightly better instance for Binary [a], that might solve a) the problem of having to traverse the entire list first, and b) the list length limitation of using length and Ints. My version is hopefully a little more lazy (taking maxBound

[Haskell-cafe] What would be required to make a LLVM backend for GHC

2009-08-07 Thread Alex Mason
let them know what we need, hopefully they can help make life easier for us. Thanks, Alex Mason ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] ANN: TernaryTrees-0.1.1.1 - An efficient ternary tree implementation of Sets and Maps

2009-06-29 Thread Alex Mason
. Please give it a try and let me know what you think, it's my first (hopefully) useful hackage package, and I'd love some feedback. There is also a darcs repo [http://random.axman6.com/darcs/TernaryTrees/], and any patches are welcome. Cheers, Alex Mason (Axman6

[Haskell-cafe] problem with inf-haskell + ghci?

2009-06-01 Thread Alex Ott
-- With best wishes, Alex Ott, MBA http://alexott.blogspot.com/http://xtalk.msk.su/~ott/ http://alexott-ru.blogspot.com/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Haskell programmers in São Carlo s - SP - Brazil?

2009-05-20 Thread Alex Queiroz
Hallo, On 5/20/09, Diego Souza paravinic...@yahoo.com.br wrote: Not exactly São Carlos: São Paulo - SP. Me too, Sao Paulo - SP. Cheers, -- -alex http://www.ventonegro.org/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] displaying conetents of a list

2009-05-10 Thread Alex MDC
[] = return () listFilms (film:films) = do putStrLn (show film) listFilms films Hope that helps, Alex ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] compilation to C, not via-C

2009-04-24 Thread Alex Queiroz
have too different computing model Actually some Scheme compilers have a c-declare form that lets you create C functions, which can be called from C, Haskell, Java, Ruby etc. Cheers, -- -alex http://www.ventonegro.org/ ___ Haskell-Cafe mailing

Re: Re[2]: [Haskell-cafe] compilation to C, not via-C

2009-04-24 Thread Alex Queiroz
. I am just refuting your assertion that one cannot compile whatever code to C and incorporate it into your function. Cheers, -- -alex http://www.ventonegro.org/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: [Haskell-cafe] compilation to C, not via-C

2009-04-24 Thread Alex Queiroz
Hallo, On 4/24/09, Donn Cave d...@avvanta.com wrote: Quoth Alex Queiroz asand...@gmail.com, Actually some Scheme compilers have a c-declare form that lets you create C functions, which can be called from C, Haskell, Java, Ruby etc. That would be like what you get with Haskell

Re: [Haskell-cafe] Converting IO [XmlTree] to [XmlTree]

2009-04-14 Thread Alex Queiroz
to interact with the outside, i. e., reading, displaying etc. Cheers, -- -alex http://www.ventonegro.org/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] SoC idea: interactive profiling

2009-03-22 Thread Alex Ott
. -- With best wishes, Alex Ott, MBA http://alexott.blogspot.com/http://xtalk.msk.su/~ott/ http://alexott-ru.blogspot.com/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Against cuteness

2009-03-13 Thread Alex Queiroz
without abstraction, Are practiced by very few. Nice poem. Did you write it yourself, or can you document the source? If I remember correctly, this is from the Daodejing. Cheers, -- -alex http://www.ventonegro.org/ ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] [ANN] Working with HLint from Emacs

2009-02-08 Thread Alex Ott
Hello On Wed, Jan 28, 2009 at 12:30 PM, Colin Paul Adams co...@colina.demon.co.uk wrote: Alex == Alex Ott alex...@gmail.com writes: Alex Hello For Emacs users it could be interesting - I wrote Alex small module for more comfortable work with HLint from Alex Emacs. It has same

Re: [Haskell-cafe] Re: WYSIWYG literate programming

2009-01-28 Thread Alex Ott
modified version of version of pretty lambda code from haskell wiki - i added several symbols, and fix regex to work properly with symbols like ===, etc. -- With best wishes, Alex Ott, MBA http://alexott.blogspot.com/ http://xtalk.msk.su/~ott/ http://alexott-ru.blogspot.com

  1   2   3   >