Re: [Haskell] Possible Hackathon at MSR Cambridge this summer

2011-05-07 Thread Martijn van Steenbergen
On 5/3/11 13:37, Simon Marlow wrote: 12th August was the date that most people could make, according to the poll. I'm currently looking into local arrangements for that date - nothing is confirmed yet, but stay tuned. Will be good to see people again! Looking forward to it. Martijn. _

Re: [Haskell] Signature error because the order

2010-01-14 Thread Martijn van Steenbergen
Hi Luis, Luis Cabellos wrote: But if I change the order of *Show* and *Num* in the signature of /prettyShow/ it works. It's a GHC problem? it's normal than signature is order-dependent? I think this is on purpose. The error specifically says that the contexts must be identical (rather than

[Haskell] ANN: HoleyMonoid-0.1

2009-10-26 Thread Martijn van Steenbergen
Hello! I'm happy to announce the first release of HoleyMonoid, a datatype that helps you build monoids with holes in them. The holes are filled in later using normal function application. For example: > let holey = now "x = " . later show . now ", y = "

Re: [Haskell] ANNOUNCE: usb-0.1

2009-10-01 Thread Martijn van Steenbergen
Bas van Dijk wrote: Comments and patches are highly welcome. I tried to install on my Mac but bindings-common choked on: > cabal install bindings-common Resolving dependencies... cabal: Error: some packages failed to install: bindings-common-1.1 failed while unpacking the package. The exceptio

[Haskell] Hac5 roundup

2009-04-23 Thread Martijn van Steenbergen
Dear Haskell Hackers, Many thanks to all those who attended Hac5! We had a spectacular number of participants: over 50 hackers showed up, representing several countries. Many thanks also to the organising committee and sponsors! Those bagels on Sunday were delicious. :-) Please check out the

[Haskell] Re: [Haskell-cafe] ANN: list-tries-0.0 - first release

2009-04-21 Thread Martijn van Steenbergen
Matti Niemenmaa wrote: In order to run properly, list-tries needs a version of 'containers' that hasn't yet been released. I incorporated a little hack which makes it compile even with 0.2, but some calls will fail by calling 'error': 30 of my 1014 test cases do so. 1014 test cases?! Wow. :-)

[Haskell] Re: [Haskell-cafe] Haskell Weekly News: Issue 114 - April 17, 2009

2009-04-17 Thread Martijn van Steenbergen
Brent Yorgey wrote: The [2]5th Haskell Hackathon is underway in Utrecht! Happy Haskell hacking! An early HWN this week since I will be traveling this weekend (but not, unfortunately, to the Hackathon). Yes! It's been a good day so far; there are lots of projects being worked on. You ca

[Haskell] Ann: Yogurt-0.4

2009-04-10 Thread Martijn van Steenbergen
Bonsoir café, It is my pleasure to announce version 0.4 of Yogurt, a functional MUD client. Version 0.4 makes Yogurt available as a standalone executable that is able to dynamically load and reload Yogurt scripts. Here is a small example of such a script: module Minimal where import Networ

Re: [Haskell] seeking papers with good examples of the use of GADTs

2009-04-10 Thread Martijn van Steenbergen
Norman Ramsey wrote: I am hoping some of you may have suggestions about other papers that would be good tutorials in the use of GADTs. There are more suggestions here: http://www.haskell.org/haskellwiki/Research_papers/Type_systems#Generalised_Algebraic_Data_Types_.28GADTs.29 And do they have

[Haskell] Re: [Haskell-cafe] [ANN] ansi-terminal, ansi-wl-pprint - ANSI terminal support for Haskell

2009-03-21 Thread Martijn van Steenbergen
Max Bolingbroke wrote: These two packages allow Haskell programs to produce much richer console output by allowing colorisation, emboldening and so on. This will be a big help in my MUD driver. Thanks! :-) Martijn. ___ Haskell mailing list Haskell@h

[Haskell] Ann: Yogurt-0.3

2009-02-16 Thread Martijn van Steenbergen
Dear Haskellers, I'm pleased to announce the release of Yogurt-0.3! This version improves over 0.2 in several ways: * It compiles and runs with GHC 6.10. * The Mud monad is now built on top of IO. * Vars are expressed as IORefs. No more unsafeCoerce needed. * Forking of threads is supported, wi

Re: [Haskell] IORef sharing

2008-10-27 Thread Martijn van Steenbergen
Rodney D Price wrote: every time I call "iio", I'm really just writing "newIORef 0". Is that what you're saying? Yes. :-) M. ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

Re: [Haskell] IORef sharing

2008-10-27 Thread Martijn van Steenbergen
Rodney D Price wrote: I'm trying to understand how an IORef (MVar, TVar) might be shared between separate instances of function closures. I've defined a function `count` that returns a function with an IORef "inside", count :: IORef Int -> Int -> IO (Char -> IO Int) count io i = do writeIORef

Re: [Haskell] Catching error / making library functions monadic (in failure)

2008-10-08 Thread Martijn van Steenbergen
Hi Philip, Philip K.F. Hölzenspies wrote: some_catch_function (error "foo") (error "bar") should result in an error "bar" Take a look at the isBottom function which is defined in module Test.QuickCheck.Batch; it might be of value to you: isBottom :: a -> Bool isBottom a = unsafePerformIO (

Re: [Haskell] Re: on starting Haskell-Edu, a new education-related Haskell-related mailing list

2008-07-14 Thread Martijn van Steenbergen
minh thu wrote: [snip] [EMAIL PROTECTED]: Although this name definitely captures the flavor of the mailing list and also conveys a sense of community (with the addition of the 's,' thanks to Dan Licata), the double-n is easy to mistake for beginners, and a new user would probably have difficulty

[Haskell] Announcement: Yogurt, a MUD client library

2008-05-29 Thread Martijn van Steenbergen
ve Yogurt a try! I'd love to hear your comments, suggestions and experiences. Below is a small program which connects to a MUD and demonstrates some examples. Run it with runhaskell. Kind regards, Martijn van Steenbergen. --- {-# OPTIONS_GHC -fglasgow-exts #-} module Main where import N