[Haskell-cafe] ANNOUNCE: language-cil

2010-11-07 Thread Tom Lokhorst
`ilasm`, can create a .exe file which can be run by Mono or .NET. The package is not finished, it only supports a subset of the full language, but it's already usable. For more information, as well as an example to quickly get started, see the github page [3]. Cheers, Tom Lokhorst [1]: http

Re: [Haskell-cafe] Re: Strict Core?

2010-10-17 Thread Tom Lokhorst
transformation. It uses information about the shape of the data type to create a more optimal worker function. Sum types aren't explored in depth in the paper, and I haven't done so yet either in my work on UHC, but my hope is that those can also be optimized using the typed representation. - Tom Lokhorst

Re: [Haskell-cafe] Re: [web-devel] Google Summer of Code: BlazeHTML RFC

2010-05-30 Thread Tom Lokhorst
+1 for HTML5. Also, I suggest focussing on the html serialization of HTML5. The xml serialization (XHTML5) is only useful in an XML environment. For such environments pure xml libraries are more appropriate. Besides, I like html syntax better. On 30 May 2010 16:27, Jochem Berndsen

[Haskell-cafe] lhs2TeX \eval{} problem

2010-03-02 Thread Tom Lokhorst
: lhs2Tex test.lhs ... polycode junk removed ... One %option ghci Two lhs2TeX: fd:7: hGetLine: end of file Has someone encountered this problem before, or knows how to solve this? - Tom Lokhorst ___ Haskell-Cafe mailing

[Haskell-cafe] Re: lhs2TeX \eval{} problem

2010-03-02 Thread Tom Lokhorst
First, it's %options ghci Oh, well that teaches me not to type myself... Copy-and-paste is way better! Now lhs2TeX no longer crashes, unfortunately it still doesn't work correctly. It now simply hangs after printing the line Two. It doesn't crash, or eat memory or cpu. It just sits there,

Re: [Haskell-cafe] Re: lhs2TeX \eval{} problem

2010-03-02 Thread Tom Lokhorst
Yes, this time I did copy/paste your code. ghci loads the file correctly and `x` is in scope. lhs2TeX just hangs on the \eval{4} line. On 2 March 2010 21:46, Andres Loeh and...@cs.uu.nl wrote: Oh, well that teaches me not to type myself... Copy-and-paste is way better! Now lhs2TeX no longer

Re: [Haskell-cafe] Lazy language on JVM/CLR

2010-02-09 Thread Tom Lokhorst
generation to override itself. I don't know if this is possible, but I vaguely remember the Dynamic Language Runtime on .NET doing something like that. I find this an interesting topic, so when you do have something more, please let us know on this list. - Tom Lokhorst [1]: http://tom.lokhorst.eu

[Haskell-cafe] Dutch HUG: meeting Monday 8th in Utrecht

2010-02-05 Thread Tom Lokhorst
I'd like to invite functional programmers in The Netherlands to the Dutch Haskell User Group [1, 2] meeting next Monday at 19:00. Two talks are scheduled: - Sebastiaan Visser and Tom Lokhorst will give a talk entitled AwesomePrelude, Liberating Haskell from data types! - Martijn van

Re: [Haskell-cafe] Observer pattern in Haskell?

2009-11-09 Thread Tom Lokhorst
trying to remember the unique object identity of the observer (as that disallows anonymous lambdas). I don't know how this would work in a Haskell context, but it might be interesting to think about. - Tom Lokhorst [1]: http://channel9.msdn.com/shows/Going+Deep/Expert-to-Expert-Brian-Beckman

[Haskell-cafe] Dutch HUG: meeting tomorrow in Utrecht

2009-09-10 Thread Tom Lokhorst
] at the library, and it's easily accessible by bike and bus [6]. Also, to stay on top of Dutch HUG related news, please subscribe to the mailing list [2]. See you tomorrow! - Tom Lokhorst [1]: http://www.haskell.org/haskellwiki/Dutch_HUG [2]: http://groups.google.com/group/dutch-hug [3]: http://www.mail

[Haskell-cafe] Dutch HUG: meeting next week (September 11th) in Utrecht

2009-08-31 Thread Tom Lokhorst
Friday! - Tom Lokhorst [1]: http://www.haskell.org/haskellwiki/Dutch_HUG [2]: http://groups.google.com/group/dutch-hug [3]: http://www.uu.nl/EN/library/contact/university_library/zaalverhuur/Pages/default.aspx#booth [4]: http://www.uu.nl/EN/library/contact/university_library/Parkeren/Pages

Re: [Haskell-cafe] Leaner Haskell.org frontpage

2009-07-10 Thread Tom Lokhorst
. This would certainly make the site seem more alive (as does that automatic hackage feed, but this would be written by a human). - Tom Lokhorst On Fri, Jul 10, 2009 at 9:04 AM, minh thunot...@gmail.com wrote: 2009/7/10 Thomas Davie tom.da...@gmail.com: On 9 Jul 2009, at 18:32, Thomas ten Cate

Re: [Haskell-cafe] ANN: package Boolean: Generalized booleans

2009-06-30 Thread Tom Lokhorst
It compiles fine :-) If you want, you can take a look at this [1] version of the code (or the tarball [2]). Load Main.hs in GHCi and run `test`, it will evaluate to `True`. Then, in the source code, switch the type of `test` from `P.Bool` to `Js JsBool` (in the comments) and run `test` again,

Re: [Haskell-cafe] Logo fun

2009-06-12 Thread Tom Lokhorst
There's a SVG version of the logo on the wiki: http://haskell.org/haskellwiki/Thompson-Wheeler_logo On Fri, Jun 12, 2009 at 10:39 AM, Thomas Davietom.da...@gmail.com wrote: On 12 Jun 2009, at 10:27, Loup Vaillant wrote: 2009/6/11 Thomas Davie tom.da...@gmail.com: Here's the logo, continuing

Re: [Haskell-cafe] Non Empty List?

2009-06-04 Thread Tom Lokhorst
Are you looking for something like Streams [1]? They're infinite sequences, defined like this: data Stream a = Cons a (Stream a) They can obviously never be empty (unless you see bottom (undefined) as empty). - Tom [1] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Stream On Thu,

[Haskell-cafe] ANN: feed2twitter 0.2 hackage2twitter 0.2.1

2009-05-21 Thread Tom Lokhorst
of the feed2twitter library. It `tweets' the releases of new Hackage-packages. In the 3 days it has been running, it has already posted 70+ releases: http://twitter.com/Hackage - Tom Lokhorst http://hackage.haskell.org/cgi-bin/hackage-scripts/package/feed2twitter http://hackage.haskell.org/cgi-bin/hackage-scripts

Re: [Haskell-cafe] ANN: feed2twitter 0.2 hackage2twitter 0.2.1

2009-05-21 Thread Tom Lokhorst
the description, but it might be nice to see things like dependencies and home pages. /jve On Thu, May 21, 2009 at 2:55 PM, Tom Lokhorst t...@lokhorst.eu wrote: To all the cool kids using the Twitter (and to anyone else): I'm happy to announce the first release of feed2twitter. Build on top

[Haskell-cafe] Re: Haskell-Cafe Digest, Vol 69, Issue 38

2009-05-19 Thread Tom Lokhorst
These QuickCheck properties don't really test your sort function. The `a' type variable will be instantiated to (). So you will test with lists of units, like so: ghci quickCheck (\xs - isSorted (reverse xs)) OK, passed 100 tests. This can be simply solved by added a more specific type

[Haskell-cafe] Current status of Annotations

2009-05-06 Thread Tom Lokhorst
further work or discussion about this subject that I haven't been able to dig up? - Tom Lokhorst [1] http://hackage.haskell.org/trac/ghc/wiki/Annotations [2] http://www.haskell.org/pipermail/haskell-prime/2006-November/001893.html [3] http://hackage.haskell.org/trac/haskell-prime/ticket/88 [4] http