Re: [Haskell-cafe] Preview the new haddock look and take a short survey

2010-08-04 Thread Bradford Larsen
On Wed, Aug 4, 2010 at 1:00 AM, Mark Lentczner ma...@glyphic.com wrote:
 The Haddock team has spent the last few months revamping the look of the 
 generated output. We're pretty close to done, but we'd like to get the 
 community's input before we put it in the main release.

 Please take a look, and then give us your feedback through a short survey

 Sample pages:  http://www.ozonehouse.com/mark/snap-xhtml/index.html
 Frame version: http://www.ozonehouse.com/mark/snap-xhtml/frames.html

 Survey:
        
 http://spreadsheets.google.com/viewform?formkey=dHcwYzdMNkl5WER1aVBXdV9HX1l5U3c6MQ
 Short link to same survey:
        http://bit.ly/9Zvs9B

 Thanks!

        - Mark

 Mark Lentczner
 http://www.ozonehouse.com/mark/
 irc: MtnViewMark

The index page is not rendered properly on Firefox 3.0.18 on 64-bit
Ubuntu:  http://imgur.com/Ez6Ki.jpg.  Note that the package name a
module comes from is not aligned with the module.

The synopsis pull-out box is also not rendered properly:
http://imgur.com/Ez6KicfdfMl.  The `Synopsis' tab is raised an inch
or so above the box, long type signatures are truncated, and the
nested scroll bar is obscured.  I also really dislike nested scroll
bars in web pages.

Best,
Brad
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell and the Software design process

2010-05-02 Thread Bradford Larsen
On Sun, May 2, 2010 at 4:10 PM, Don Stewart d...@galois.com wrote:
 I don't believe anyone has written a Programming Haskell in the Large
 book (or any other similar functional language??), but there is lots of
 experience in this community working on big, long lived code bases.

 Some key points:
[...]
    * picking a good data type (like a zipper) will make hundreds of
          unit tests meaningless -- improving productivity.

Don,

What sort of tests were you thinking of that a zipper would render
pointless?  Could you elaborate?

Thanks,
Brad
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell and the Software design process

2010-05-02 Thread Bradford Larsen
On Sun, May 2, 2010 at 9:18 PM, Edgar Z. Alvarenga ed...@ymonad.com wrote:
 On Sun, 02/May/2010 at 13:10 -0700, Don Stewart wrote:

     * Avoid partial functions

 Why?

 Edgar

Ever place you use a partial function, you need to verify that its
usage is in fact safe.  Otherwise, you risk pattern match failures,
undefined, nontermination, and other types of nasties.

If you can structure your code so none of your functions are partial,
verification that their usage is safe is a whole lot easier.  :-)

Brad
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] mtl design (was ``What do _you_ want to see in FGL?'')

2010-04-27 Thread Bradford Larsen
On Mon, Apr 26, 2010 at 7:35 AM, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
 Whilst freezing it is an option, I feel that this will lead to the same
 problems that we already face with mtl: most people agree/know that the
 approach/design is bad, but we keep using it because there's no (one)
 viable alternative to be used (and thus mtl stays in the Platform, which
 means more people use it, and thus we have this vicious cycle).

Ivan,

Could you elaborate on what you mean regarding the mtl approach 
design?  What makes them bad?

Sincerely,
Brad
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Seeking the correct quote

2010-04-27 Thread Bradford Larsen
On Tue, Apr 27, 2010 at 4:23 PM, Jacques Carette care...@mcmaster.ca wrote:
 I have heard generic programming described tongue-in-cheek as the kind of
 polymorphism that a language does not (yet) have.  I find this description
 rather apt, and it matches fairly what I see called 'generic' in various
 communities.  But who said this, where and when?

 Jacques
 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe


I don't have the book handy (it was from the library), but I seem to
remember reading something along those lines in ``Datatype-Generic
Programming:  International Spring School, SSDGP 2006, Nottingham, UK,
April 24-27, 2006, Revised Lectures'', edited by Backhouse, Gibbons,
Hinze, and Jeuring.

There's a lead for you, at least!

Regards,
Brad
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe