[Haskell] ANN: universe-0.1

2013-03-20 Thread wagnerdm
Thanks to all for the very interesting feedback! Your suggestions have  
resulted in a second release of universe. New in this release:


* instances of Universe and Finite for function spaces
* some cheeky, optional instances of Eq, Ord, Show, and Read for  
functions with Finite domains

* support for (some) Representable functors
* ...but the downside is that this release now relies on TypeFamilies  
(let me know if this seems like a showstopper for you)


Enjoy, and keep the complaints coming!
~d

Quoting wagne...@seas.upenn.edu:

I've long heralded "data-default" as my favorite ten-line package...  
before it was released, I found my self writing those a few lines in  
each project to do just what's done there. Inspired by this, and the  
fact that there's a separate ten lines that I find myself writing in  
nearly every project, I'm pleased to announce the initial release of  
"universe". The package sports just two load-bearing lines:


class Universe a where universe :: [a]
class Universe a => Finite a where universeF :: [a]

...along with a dozen or so instances of each. The instance do  
nothing more than enumerating all the values of the given type.


Hope you enjoy it, and let me know if you think there are some  
important missing instances!


http://hackage.haskell.org/package/universe
https://github.com/dmwit/universe

~d

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell






___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] ANN: universe-0.0

2013-03-17 Thread wagnerdm
I've long heralded "data-default" as my favorite ten-line package...  
before it was released, I found my self writing those a few lines in  
each project to do just what's done there. Inspired by this, and the  
fact that there's a separate ten lines that I find myself writing in  
nearly every project, I'm pleased to announce the initial release of  
"universe". The package sports just two load-bearing lines:


class Universe a where universe :: [a]
class Universe a => Finite a where universeF :: [a]

...along with a dozen or so instances of each. The instance do nothing  
more than enumerating all the values of the given type.


Hope you enjoy it, and let me know if you think there are some  
important missing instances!


http://hackage.haskell.org/package/universe
https://github.com/dmwit/universe

~d

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] [ANN] gtk2hs-0.12.4

2012-11-21 Thread wagnerdm
Today, we welcome into the world version 0.12.4 of Gtk2Hs[1], a set of  
Haskell bindings to many of the libraries included in the Gtk+/Gnome  
platform. Gtk+ is an extensive and mature multi-platform toolkit for  
creating graphical user interfaces.


GUIs written using Gtk2Hs use themes to resemble the native look on  
Windows. Gtk is the toolkit used by Gnome, one of the two major GUI  
toolkits on Linux. On Mac OS programs written using Gtk2Hs are run by  
Apple's X11 server but may also be linked against a native Aqua  
implementation of Gtk.


This release is primarily a GHC-7.6 compatibility release, thanks in  
large part to John Lato. In addition to releases of the core packages,  
this release includes point updates to gconf and gstreamer.


The release has been tested on Linux and Windows with a variety of  
combinations of Gtk+ and GHC versions.


Installation

Assuming you have the necessary Gtk+ base libraries already installed,  
you can get the basic set of Haskell bindings with these two commands:


cabal install gtk2hs-buildtools
cabal install gtk

Other available packages include gconf, glade, gnomevfs, gstreamer,  
gtkglext, gtksourceview2, soegtk, svgcairo, vte, and webkit. There are  
longer-winded instructions that include pointers on getting the Gtk+  
base libraries installed on the website [2].


Features

* Automatic memory management (unlike some other C/C++ GUI libraries, Gtk+
  provides proper support for garbage-collected languages)
* Unicode support
* High quality vector graphics using Cairo
* Extensive reference documentation
* An implementation of the ``Haskell School of Expression'' graphics API

Community
-
You can keep up with the latest developments on the mailing lists:
* gtk2hs-users [3]: discussions about writing code that uses Gtk2Hs
* gtk2hs-devel [4]: discussions about modifying the Gtk2Hs bindings
* gtk2hs-commit [5]: a read-only mailing list with announcements of every
  patch to hit the darcs repository

Check out the latest code via darcs:
darcs get http://code.haskell.org/gtk2hs/

Or complain on the bug tracker [6].

This code was brought to you by:
Duncan Coutts
Axel Simon
Andy Stewart
Peter Gavin
Jens Petersen
John Obbele
Hans van Thiel
Daniel Wagner
Bertram Felgenhauer
John Lato
...and many, many more

[1] http://projects.haskell.org/gtk2hs/
[2] http://code.haskell.org/gtk2hs/INSTALL
[3] https://lists.sourceforge.net/lists/listinfo/gtk2hs-users
[4] https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel
[5] https://lists.sourceforge.net/lists/listinfo/gtk2hs-commit
[6] http://hackage.haskell.org/trac/gtk2hs/

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] Reminder: HacPhi 2012 registration closing in two weeks

2012-07-08 Thread wagnerdm

Hello all,

HacPhi 2012 is drawing near! To help us finalize the arrangements, we  
plan on closing the registration period on


Friday, July 20, 2012 at 1430 local time (local to you!)

...two weeks before the beginning of the festivities. If you plan on  
coming, please drop us a line so that we know how many people to  
provide food and wireless for (and we all know which of those two is  
the more important ;-). Full instructions for registering are  
available on the wiki page [1], as well as information about making  
hotel and travel arrangements.


The HacPhi wiki [2] has full details, but the skinny is this: we kick  
off at 1430 on Friday, August 3, and will hack together for three days  
(until August 5), with breaks for food and sleep. We will have a time  
for short talks as well -- let us know if you're interested in telling  
us a bit about your latest exploits. Whether you're a raw recruit or a  
grizzled code veteran, come join your Haskell-y comrades-in-arms for a  
weekend of hacking and fun!


- The HacPhi team
Brent Yorgey (byorgey)
Daniel Wagner (dmwit)
Chris Casinghino (ccasin)

[1] http://www.haskell.org/haskellwiki/Hac_%CF%86/Register
[2] http://www.haskell.org/haskellwiki/Hac_%CF%86

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] ANN: yeganesh-2.5

2012-04-21 Thread wagnerdm

Today heralds the release of version 2.5 of the venerable yeganesh[1] menu.

The suckless team produces a small program named dmenu[2] which acts like a
normal Unix pipe program, accepting input on stdin and producing output on
stdout, with the one caveat that it sticks the user in between. It launches a
very small menu, presenting the user with each of the lines of stdin as
choices, and prints the chosen text as a single line to stdout. This is very
convenient for lightweight, GUI-less programs and scripts that need some
minimal interaction; however, it is completely memoryless.

Yeganesh wraps dmenu to add some memory: it records which choices the user has
made in the past, and promotes popular choices to the front of the menu on
future runs. See the website[1] for screenshots.

New in this release:

* Switching away from Read as the cache file parser reduced startup time by a
  factor of eight. (Caches in the old format will be transparently upgraded.)
* When running in --executables mode, broken symlinks no longer sabotage their
  siblings in the filesystem tree.
* Minor change to command-line parsing to preserve consistency with GNU-style
  command lines. (Any command line that used to work will still work, and will
  behave the same; however, some lines that were rejected before are now
  accepted and passed on to dmenu.)

To try it out:

1. Install dmenu via your package manager, or from source (it's quite small!).
wget http://dl.suckless.org/tools/dmenu-4.5.tar.gz
tar xf dmenu-4.5.tar.gz
cd dmenu-4.5
make install
2. Install yeganesh from Hackage.
cabal install yeganesh
3. Run yeganesh; for example, to choose a file in your current directory, then
   see that file float to the top of your choices, try
ls | yeganesh
ls | yeganesh

Features:

* One common use case for choosing an executable from your $PATH to launch;
  yeganesh will scan your $PATH for you when launched in the --executables
  mode.
* Multiple popularity profiles allow separate dmenu consumers to have separate
  memories. (For example, I have separate profiles for launching GUI and shell
  programs.)
* Sometimes you say something embarassing; use the --filter mode to forget it.

Enjoy!
~d

[1] http://dmwit.com/yeganesh
[2] http://tools.suckless.org/dmenu/

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] [ANN] gtk2hs-0.12.3

2012-03-08 Thread wagnerdm

Hello all!

I'm pleased to announce the release of gtk2hs, the definitive Haskell  
bindings to Gtk+. This release includes GHC-7.4 support, as well as  
the new widgetRestore{Fg,Bg,Text,Base} bindings. Get it from the  
Hackage nearest you!


cabal update
cabal install gtk2hs-buildtools
cabal install gio gtk

All the best.
- the gtk2hs team

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] Reminder: HacPhi 2011 registration closing in two weeks

2011-06-15 Thread wagnerdm

Hello all,

HacPhi 2011 is drawing near! To help us finalize the arrangements, we  
plan on closing the registration period on


Wednesday, June 29, 2011 at 1430 local time (local to you!)

...one month before the beginning of the festivities. If you plan on  
coming, please drop us a line so that we know how many people to  
provide food and wireless for (and we all know which of those two is  
the more important ;-). Full instructions for registering are  
available on the wiki page [1], as well as information about making  
hotel and travel arrangements.


The HacPhi wiki [2] has full details, but the skinny is this: we kick  
off at 1430 on Friday, July 29, and will hack together for three days  
(until July 31), with breaks for food and sleep. We will have a time  
for short talks as well -- let us know if you're interested in telling  
us a bit about your latest exploits. Whether you're a raw recruit or a  
grizzled code veteran, come join your Haskell-y comrades-in-arms for a  
weekend of hacking and fun!


- The HacPhi team
Brent Yorgey (byorgey)
Daniel Wagner (dmwit)
Chris Casinghino (ccasin)

[1] http://www.haskell.org/haskellwiki/Hac_%CF%86/Register
[2] http://www.haskell.org/haskellwiki/Hac_%CF%86

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell