[Haskell-cafe] Infrastructure for testing the impact of a Functor/Applicative/Monad hierarchy

15 views
Skip to first unread message

Niklas Hambüchen

unread,
May 16, 2013, 11:06:10 AM5/16/13
to haskell-cafe
Reading the other thread (Adding Applicative/Functor instances to all
Monads in GHC) I was wondering if there was infrastructure for testing
what effect making the often-discussed Functor/Monad change would have:
How many packages on hackage would break etc.

I have read a few times that people have "compiled all of hackage" to
see the impact of whatever.

How do you do that?

Do you just run a loop around cabal install or have you built some more
advanced tools to visualize the results better or compile the packages
"from ground up", in order of their dependencies?

I'm interested in anything in this direction.

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

Stephen Tetley

unread,
May 16, 2013, 12:28:26 PM5/16/13
to haskell-cafe
Has anyone surveyed the in-print textbooks, tutorials, or tried to
assess how much Haskell (H98, H2010, Glasgow Haskell?) is used in
teaching?

Having the wrong hierarchy is a minor annoyance to us members of the
cognoscenti, but a change outside a revision of the language standard
could leave a lot of beginners and the teaching material they rely on
stranded.

Edward Kmett

unread,
May 16, 2013, 12:58:14 PM5/16/13
to Stephen Tetley, haskell-cafe
There is a chicken and the egg problem with this argument.

Historically Haskell' has only considered changes that have been actually implemented. 

I would encourage the language standard to follow suit, but we survived a similar autocratic minor change to Num with very little ecosystem disruption.

-Edward

Emanuel Koczwara

unread,
May 16, 2013, 1:18:08 PM5/16/13
to haskell-cafe
Hi,

Which library should I use for simple user interface? Should I use
opengl directly (through HOpenGL)? Or Gloss? Or something else?

I want to create small ui library from scratch in haskell.

Emanuel

harry

unread,
May 18, 2013, 3:33:25 PM5/18/13
to haskel...@haskell.org
Niklas Hambüchen <mail <at> nh2.me> writes:

> Reading the other thread (Adding Applicative/Functor instances to all
> Monads in GHC) I was wondering if there was infrastructure for testing
> what effect making the often-discussed Functor/Monad change would have:
> How many packages on hackage would break etc.

Some patches for GHC/base are attached to
http://hackage.haskell.org/trac/ghc/ticket/4834. They're a couple of years
old, so they may not apply cleanly, but they might help you in assessing the
impact of such a change.

Niklas Hambüchen

unread,
May 22, 2013, 8:10:54 AM5/22/13
to haskel...@haskell.org
Ian Lynagh just posted a link to the "hackager" program:

http://hackage.haskell.org/trac/ghc/wiki/HackageTesting

That seems to be pretty much what I was looking for.
Reply all
Reply to author
Forward
0 new messages