[Haskell-cafe] Diffs for hackage

2011-08-13 Thread Luite Stegeman
hi all, often when a new version of a package is available on hackage, I want to see what has changed since the previous release. Unfortunately many packages don't have a changelog or a public source code repository. That's why I have made a simple website with git repositories that contain all

Re: [Haskell-cafe] type-class inference

2011-08-13 Thread Patrick Browne
The :info command is a great help. Why does :info g 4 produce a parse error, while :t g 4 does not? Thanks for all your help, Pat On 13/08/2011 00:08, Brandon Allbery wrote: Typeclasses are not independent of types, and are not inferred separately from types. If you want to know what

Re: [Haskell-cafe] type-class inference

2011-08-13 Thread Ivan Lazar Miljenovic
On 13 August 2011 17:34, Patrick Browne patrick.bro...@dit.ie wrote: The :info command is a great help. Why does  :info g 4 produce a parse error, while  :t g 4 does not? From :help in ghci: :info [name ...] display information about the given names By names, it's referring to

Re: [Haskell-cafe] Diffs for hackage

2011-08-13 Thread Christopher Done
Wow, really nice stuff. Great work! I'll find this very useful. On 13 August 2011 08:11, Luite Stegeman stege...@gmail.com wrote: hi all, often when a new version of a package is available on hackage, I want to see what has changed since the previous release. Unfortunately many packages don't

Re: [Haskell-cafe] Can I have a typeclass for topological spaces?

2011-08-13 Thread Alp Mestanogullari
It may not be exactly what you want, but I played with https://github.com/luqui/topology-extras/blob/master/TopologyExtras/Topology.hs a few months ago, it may be a good basis to start with. (no pun intended) On Thu, Aug 11, 2011 at 5:08 PM, Grigory Sarnitskiy sargrig...@ya.ruwrote: Oh, I guess

[Haskell-cafe] Array and Ix for custom Graph ADT

2011-08-13 Thread Mark Spezzano
Hi, I'm creating a Graph data structure, and I want to use the array list approach, implemented as an Array. I need my Nodes to be instances of Ix for this to work and my Node type is roughly as follows: data Node = MyNode Int [Int] Type1 Type2 (Type1 and Type2 are nullary algebraic

Re: [Haskell-cafe] Diffs for hackage

2011-08-13 Thread Joachim Breitner
Hi, Am Samstag, den 13.08.2011, 08:11 +0200 schrieb Luite Stegeman: often when a new version of a package is available on hackage, I want to see what has changed since the previous release. Unfortunately many packages don't have a changelog this is something that should be changed! Reviewing

[Haskell-cafe] Haskell Actors, Linda, publish / subscribe models?

2011-08-13 Thread dokondr
Hi, I am trying to figure out what Haskell libraries can be used to build publish / subscribe communication between threads running both in the same and different address spaces on the net. For my needs any of these models will work: - Actors [ http://en.wikipedia.org/wiki/Actor_model ] - Linda

Re: [Haskell-cafe] Diffs for hackage

2011-08-13 Thread Ivan Lazar Miljenovic
On 13 August 2011 20:57, Joachim Breitner m...@joachim-breitner.de wrote: Maybe it would already help to add a changelog-file field to .cabal, just as with license-file, and reject packages on hackage that do not have this field and file, and later decide if we need a more standardized format

Re: [Haskell-cafe] Diffs for hackage

2011-08-13 Thread David Fox
On Sat, Aug 13, 2011 at 5:18 AM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 13 August 2011 20:57, Joachim Breitner m...@joachim-breitner.de wrote: Maybe it would already help to add a changelog-file field to .cabal, just as with license-file, and reject packages on hackage that

Re: [Haskell-cafe] Diffs for hackage

2011-08-13 Thread Ivan Lazar Miljenovic
On 14 August 2011 00:25, David Fox dds...@gmail.com wrote: Debian's packaging has a very strict changelog format where each entry combines a log entry with the package name, the version number, the author's name and email, and the date.  This creates a very nice, centralized, authoritative

[Haskell-cafe] ML Workshop: register early by August 15

2011-08-13 Thread Chung-chieh Shan
ACM SIGPLAN Workshop on ML Sunday, 18 September 2011, Tokyo, Japan (co-located with ICFP) http://conway.rutgers.edu/ml2011/ CALL FOR PARTICIPATION * Early Registration deadline is August 15! * The ML family of programming languages includes dialects known as Standard ML,

Re: [Haskell-cafe] Diffs for hackage

2011-08-13 Thread Joachim Breitner
Hi, Am Sonntag, den 14.08.2011, 00:29 +1000 schrieb Ivan Lazar Miljenovic: On 14 August 2011 00:25, David Fox dds...@gmail.com wrote: Debian's packaging has a very strict changelog format where each entry combines a log entry with the package name, the version number, the author's name and

Re: [Haskell-cafe] Diffs for hackage

2011-08-13 Thread David Fox
On Sat, Aug 13, 2011 at 8:13 AM, Joachim Breitner m...@joachim-breitner.de wrote: Hi, Am Sonntag, den 14.08.2011, 00:29 +1000 schrieb Ivan Lazar Miljenovic: On 14 August 2011 00:25, David Fox dds...@gmail.com wrote: Debian's packaging has a very strict changelog format where each entry

[Haskell-cafe] ANNOUNCE: taffybar: an alternative status bar for xmonad

2011-08-13 Thread Tristan Ravitch
I've wanted a slightly fancier status bar than xmobar for a while, so I finally made one. It uses gtk2hs and dbus extensively, so if you hate either of those things it probably isn't for you. Being written in gtk, though, it can have more graphical widgets.

[Haskell-cafe] Subtitles for Programming in Haskell videos

2011-08-13 Thread José Romildo Malaquias
Hello. Are there subtitles (in English or Portuguese) for the video lectures[1] given by Erik Meijer using the book Programming in Haskell, by Graham Hutton? [1] http://www.cs.nott.ac.uk/~gmh/book.html Romildo ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Array and Ix for custom Graph ADT

2011-08-13 Thread Antoine Latter
On Sat, Aug 13, 2011 at 4:37 AM, Mark Spezzano mark.spezz...@chariot.net.au wrote: Hi, I'm creating a Graph data structure, and I want to use the array list approach, implemented as an Array. I need my Nodes to be instances of Ix for this to work and my Node type is roughly as follows:

Re: [Haskell-cafe] Diffs for hackage

2011-08-13 Thread Joachim Breitner
Hi, Am Samstag, den 13.08.2011, 12:57 +0200 schrieb Joachim Breitner: Maybe it would already help to add a changelog-file field to .cabal, just as with license-file, and reject packages on hackage that do not have this field and file, and later decide if we need a more standardized format for

Re: [Haskell-cafe] Diffs for hackage

2011-08-13 Thread Ivan Lazar Miljenovic
On 14 August 2011 01:13, Joachim Breitner m...@joachim-breitner.de wrote: But I think David is suggesting to adapt a similarly formatted changelog file for Cabal packages, e.g. to display them on hackage. I am all for that, as long as it does not prevent the introduction of changelogs (e.g. by

Re: [Haskell-cafe] Array and Ix for custom Graph ADT

2011-08-13 Thread Mark Spezzano
Hi Antoine, The first Int field is a unique index, beginning at 1 and increasing by 1 for each unique Node. The second [Int] field is just a list of random numbers associated with that node. Mark On 14/08/2011, at 2:13 AM, Antoine Latter wrote: On Sat, Aug 13, 2011 at 4:37 AM, Mark

Re: [Haskell-cafe] Array and Ix for custom Graph ADT

2011-08-13 Thread Daniel Fischer
On Sunday 14 August 2011, 00:41:33, Mark Spezzano wrote: Hi Antoine, The first Int field is a unique index, beginning at 1 and increasing by 1 for each unique Node. Then you could use that for indexing, assuming the Ord instance matches. range (MyNode x _ _ _, MyNode y _ _ _) = [x .. y]

Re: [Haskell-cafe] Diffs for hackage

2011-08-13 Thread wren ng thornton
On 8/13/11 5:39 PM, Joachim Breitner wrote: Hi, Am Samstag, den 13.08.2011, 12:57 +0200 schrieb Joachim Breitner: Maybe it would already help to add a changelog-file field to .cabal, just as with license-file, and reject packages on hackage that do not have this field and file, and later

Re: [Haskell-cafe] Array and Ix for custom Graph ADT

2011-08-13 Thread Mark Spezzano
Solved it with your help :) Thanks for your assistance! Mark Spezzano On 14/08/2011, at 8:29 AM, Daniel Fischer wrote: On Sunday 14 August 2011, 00:41:33, Mark Spezzano wrote: Hi Antoine, The first Int field is a unique index, beginning at 1 and increasing by 1 for each unique Node.

Re: [Haskell-cafe] ANNOUNCE: taffybar: an alternative status bar for xmonad

2011-08-13 Thread Joel Burget
This sounds really intriguing. Since I'm temporarily not using xmonad, and I'm sure others would like to see as well, could we get a screenshot? - Joel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org