[Haskell-cafe] ANN: bytestring-lexing 0.4.2

2013-03-20 Thread wren ng thornton
-- bytestring-lexing 0.4.2 The bytestring-lexing package offers efficient reading and packing of common types like Double and Integral types. -- Changes (since 0

Re: [Haskell-cafe] A Thought: Backus, FP, and Brute Force Learning

2013-03-20 Thread Albert Y. C. Lai
On 13-03-20 06:54 PM, OWP wrote: For me personally, one thing I enjoy about a typical procedural program is that it allows me to "Brute Force Learn". [...] 1. I believe that you can also stare at functional programs and figure out as much as what you can with procedural programs. It only req

[Haskell-cafe] Haskell Weekly News: Issue 263

2013-03-20 Thread Daniel Santa Cruz
Welcome to issue 263 of the HWN, an issue covering crowd-sourced bits of information about Haskell from around the web. This issue covers the week of March 10 to 16, 2013. Quotes of the Week * shachaf: Did someone give edwardk a committee bit? Top Reddit Stories * Restored: the Haskell ma

Re: [Haskell-cafe] A Thought: Backus, FP, and Brute Force Learning

2013-03-20 Thread Clark Gaebel
Reading papers might not be the best way to get started with Haskell. It'll be a great way to expand your knowledge later, but they're generally not written to give the reader an introduction to functional programming. I highly recommend Learn You A Haskell [1]. It is extremely well written. Rega

Re: [Haskell-cafe] Maintaining lambdabot

2013-03-20 Thread James Cook
On Mar 15, 2013, at 5:33 PM, Jason Dagit wrote: > I was going to start making these changes and I noticed that it doesn't > currently build with ghc 7.4.1 w/Haskell Platform: > https://travis-ci.org/dagit/lambdabot/builds/5541375 > > Do you know if the constraints on: > regex-posix-0.95.1 > reg

Re: [Haskell-cafe] package show needs QuickCheck<2.6?

2013-03-20 Thread James Cook
The mueval build issue should be taken care of in a patch I just sent the maintainer which removes 'show' as a dependency. I believe the 'show' package itself is currently in a maintainer-less state, but I don't mind taking it over. It makes sense to do so since I am also taking over lambdabot

Re: [Haskell-cafe] A Thought: Backus, FP, and Brute Force Learning

2013-03-20 Thread OWP
I made an error. I meant FP to stand for Functional Programming, the concept not the language. On Wed, Mar 20, 2013 at 6:54 PM, OWP wrote: > This thought isn't really related to Haskell specifically but it's more > towards FP ideal in general. > > I'm new to the FP world and to get me started,

[Haskell-cafe] A Thought: Backus, FP, and Brute Force Learning

2013-03-20 Thread OWP
This thought isn't really related to Haskell specifically but it's more towards FP ideal in general. I'm new to the FP world and to get me started, I began reading a few papers. One paper is by John Backus called "Can Programming Be Liberated from the von Neumann Style? A Functional Style and It'

Re: [Haskell-cafe] Extracting exposed modules from an installed library

2013-03-20 Thread Joachim Breitner
Hi, Am Mittwoch, den 20.03.2013, 00:34 +0100 schrieb Corentin Dupont: > Hi Cafe! > I'm looking for how to extract the exposed modules (as a list of > strings) from an installed library, giving the library name. > I can see some structures in Cabal (InstalledPackageInfo) and some > functions in ghc

Re: [Haskell-cafe] Does GHC 7.8 make targeting bare metal ARM any easier?

2013-03-20 Thread Magnus Therning
On Wed, Mar 20, 2013 at 08:05:04AM +0100, Karel Gardas wrote: > > Hello Jeremy, > > I'd also like to see GHC compiling for ARM bare metal. Honestly > speaking I've avoided Raspberry Pi, but rather settled on ARMv7. > Side note: BeagleBone is excellent for this as you get all the TI > supported to

[Haskell-cafe] ANN: LearnByHaking.org

2013-03-20 Thread Deian Stefan
Hi cafe, I've been delaying the announcement of LearnByHacking.org as I wish to add more features, but some of you may be interested in it as is. The web app is inspired by and, to some degree, a lighter-weight clone of School of Haskell. I am currently using it as glorified blog that provides a

Re: [Haskell-cafe] Streaming bytes and performance

2013-03-20 Thread Konstantin Litvinenko
On 03/20/2013 11:17 AM, Branimir Maksimovic wrote: Are you sure? I use ghc 7.6.2 (compiled with -O2) and without bang patterns for 1million iterations it blows stack space. With bang patterns it runs in constant space , same as other version? Okay, I have found the root of allocation problem.

Re: [Haskell-cafe] Announcement - HGamer3D - 0.2.1 - featuring FRP based GUI and more

2013-03-20 Thread Johan Holmquist
Looks nice! I am curious as to why this is Windows only. Of the listed libraries (Ogre, CEGUI, SFML, enet, BulletPhysics, Vect, netwire) none seem to be platform specific. Regards /Johan 2013/3/20 Ivan Perez : > This is very cool. I've been keeping an eye on this library for a few > months. > >

Re: [Haskell-cafe] Compiled program using OpenGL fails to trigger GPU switch on Mac, but works in GHCi

2013-03-20 Thread Brandon Allbery
On Wed, Mar 20, 2013 at 9:02 AM, Jesper Särnesjö wrote: > This solution seems to work perfectly for me. Since the foreign code > is allowed to run uninterrupted, the GPU switch happens, and since the > GUI actions stay on the main thread, the program's window responds to > keyboard and mouse inpu

Re: [Haskell-cafe] Compiled program using OpenGL fails to trigger GPU switch on Mac, but works in GHCi

2013-03-20 Thread Jesper Särnesjö
On Tue, Mar 19, 2013 at 12:19 AM, Jesper Särnesjö wrote: > As I final note, I did learn that the GHC runtime generates SIGVTALRM > signals to cause the scheduler to switch contexts. Perhaps this > prevents GLFW from running properly? Looks like I'll need to brush up > on my dtrace. A bit of googl

Re: [Haskell-cafe] Streaming bytes and performance

2013-03-20 Thread Bas van Dijk
On 20 March 2013 11:41, Konstantin Litvinenko wrote: > On 03/20/2013 11:17 AM, Branimir Maksimovic wrote: >> >> Are you sure? I use ghc 7.6.2 > > > Huh, I use 7.4.2, and if 7.6.2 can handle this I will try to switch. Not > sure how to do that on ubuntu 12.10... I always install ghcs under my home

Re: [Haskell-cafe] Announcement - HGamer3D - 0.2.1 - featuring FRP based GUI and more

2013-03-20 Thread Ivan Perez
This is very cool. I've been keeping an eye on this library for a few months. Keep it on! On 19 March 2013 15:18, Heinrich Apfelmus wrote: > Peter Althainz wrote: > >> Dear All, >> >> I'm happy to announce release 0.2.1 of HGamer3D, the game engine with >> Haskell API, featuring FRP based API a

Re: [Haskell-cafe] Streaming bytes and performance

2013-03-20 Thread Konstantin Litvinenko
On 03/20/2013 11:17 AM, Branimir Maksimovic wrote: Are you sure? I use ghc 7.6.2 Huh, I use 7.4.2, and if 7.6.2 can handle this I will try to switch. Not sure how to do that on ubuntu 12.10... ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.o

Re: [Haskell-cafe] Compiled program using OpenGL fails to trigger GPU switch on Mac, but works in GHCi

2013-03-20 Thread Jesper Särnesjö
On Tue, Mar 19, 2013 at 8:18 AM, Albert Y. C. Lai wrote: > On 13-03-18 09:19 AM, Jesper Särnesjö wrote: >> >> Interestingly, running the program in GHCi with the -fno-ghci-sandbox >> flag, causes it to misbehave in the same way as when compiled: > > Then perhaps to mimic default ghci in hope of ge

Re: [Haskell-cafe] Streaming bytes and performance

2013-03-20 Thread Branimir Maksimovic
Are you sure? I use ghc 7.6.2 (compiled with -O2) and without bang patternsfor 1million iterations it blows stack space.With bang patterns it runs in constant space , same as other version? bmaxa@maxa:~/haskell$ ./state +RTS -s5050 52,080 bytes allocated in the heap 3,

Re: [Haskell-cafe] Does GHC 7.8 make targeting bare metal ARM any easier?

2013-03-20 Thread John Meacham
kiwamu has been targeting an arm cortex-m3 succesfully with jhc. this is a CPU with 40k of RAM running Haskell code very much on bare metal. :) John On Tue, Mar 19, 2013 at 6:07 PM, Jeremy Shaw wrote: > There have been at least a couple projects, such as hOp and HaLVM > which attempt to run

Re: [Haskell-cafe] Does GHC 7.8 make targeting bare metal ARM any easier?

2013-03-20 Thread Karel Gardas
Hello Jeremy, I'd also like to see GHC compiling for ARM bare metal. Honestly speaking I've avoided Raspberry Pi, but rather settled on ARMv7. Side note: BeagleBone is excellent for this as you get all the TI supported tools together with JTAG debugging just for free from TI (including ARM c