Author Archives: Don Stewart

Arch Haskell News: Mar 14 2009

A regular update of Haskell in Arch Linux

Hackage now has 1122 Haskell packages, of which 974 have been natively packaged for Arch in AUR. That’s 12 new packages this week, and lots of updates as well.

Notable releases this week

Here they all are, broken down by category, so you can get a sense for what’s new in your area of interest:

Codec

Compilers

Concurrency

Control

Cryptography

Data

Devel

Graphics

  • haskell-ftgl-1.2: Portable TrueType font rendering for OpenGL using the Freetype2 library

Gui

Language

System

Testing

Text

Web

Xml

The Arch Haskell Team maintains the Haskell toolchain on Arch Linux. You can join us in #arch-haskell on freenode.org, or on the mailing list.

Arch Haskell News: Mar 8 2009

A regular update of Haskell in Arch Linux

Arch now has 962 Haskell packages in AUR. That’s 17 new packages this week, and lots of updates as well.

Notable releases this week

Here they all are, broken down by category, so you can get a sense for what’s new in your area of interest:

Algorithm

Codec

Compilers

Concurrency

Control

Cryptography

Data

Database

Devel

Distributed Systems

Graphics

Network

System

Testing

Text

Web

Xml

The Arch Haskell Team maintains the Haskell toolchain on Arch Linux. You can join us in #arch-haskell on freenode.org, or on the mailing list.

Stand back! haskell-regex-tdfa reaches 1.0.0

Chris Kuklewicz announced, enthusiastically, the release of haskell-regex-tdfa 1.0. You can now get  the Arch Linux package for it here. Amongst the varied and many regex libs for Haskell regex-tdfa stands as being 100% Haskell (not a binding to a C library), and for its use in the Yi project.

To quote Chris on the 1.0 release:

I am proud of this release.
This is not just a bug fix release.
It is a serious improvement in the asymptotic running time.

The previous versions allowed bad combinations of pattern and searched text length to scale badly in the length of the text. Previously the worst case for text of length N was O(N^3).

The new worst case asymptotic runtime scaled as O(N).
There is never any backtracking.
And the worst case storage space is independent of N.

Good work, Chris, and thanks for all the regex packages.

Arch Haskell News: Feb 28 2009

A regular update of Haskell in Arch Linux

Arch now has 945 Haskell packages in AUR. That’s an increase of 11 new packages this week. Well done everyone!

Cryptography

Data

Database

Devel

  • c2hs-0.16.0: C->Haskell FFI tool that gives some cross-language type safety
  • cabal2arch-0.5: Create Arch Linux packages from Cabal packages
  • hackage2hwn-0.5: Convert Hackage RSS feeds to wiki format for publishing on Haskell.org

Graphics

Gui

Math

System

Testing

Text

The Arch Haskell Team maintains the Haskell toolchain on Arch Linux. You can join us in #arch-haskell on freenode.org, or on the mailing list.

Arch Haskell News: Feb 21 2009

A regular update of Haskell in Arch Linux

Arch now has 934 Haskell packages in AUR.

That’s an increase of 8 new packages in the last 4 days. Well done everyone!

Noteworthy updates

The following packages, by category, were released or updated this week.

Concurrency

Control

Cryptography

Data

Database

Devel

Gui

Graphics

Network

System

Web

The Arch Haskell Team maintains the Haskell toolchain on Arch Linux. You can join us in #arch-haskell on freenode.org, or on the mailing list.

hipmunk: 2D physics for Haskell

hipmunk is a nice Haskell binding to the 2D physics library, chipmunk. It’s now packaged up for Arch Linux, with demos:

Here’s a demo installing the packages from AUR and running the physics demo:

Arch Haskell News: Feb 16 2009

A regular update of Haskell in Arch Linux

Arch now has 926 Haskell packages in AUR.

That’s an increase of 27 new packages in the last 8 days, or 3.38 new Haskell apps a day. Well done everyone!

Noteworthy updates

Installing Packages from AUR

To install AUR packages, we recommend yaourt, as in:

yaourt --noconfirm  --lightbg --aur -S haskell-haha

You may want to alias that command line. Here’s an example from this week’s releases:

The reason to use yaourt over cabal-install is that AUR packages correctly resolve all versions and, more importantly, C library and other system dependencies. Packages will also be pulled from the binary releases in [extra] and [community] where available, saving you build times.

New and Updated Packages

We now present package info sorted by category — let us know if this helps!

Algorithm

Codec

Compilers

Control

Cryptography

Data

Database

HSQL

HDBC

HaskellDB

Devel

Graphics

Gui

Language

Math

Network

System

Text

Web

  • haskell-hsp-0.4.5: Haskell Server Pages is a library for writing dynamic server-side web pages.

The Arch Haskell Team maintains the Haskell toolchain on Arch Linux. You can join us in #arch-haskell on freenode.org, or on the mailing list.

haskelldb: high level, type safe database queries for Haskell

The venerable haskelldb high level database interface for Haskell is now packaged up for Arch.

HaskellDB is a combinator library for expressing queries and other operations on relational databases in a type safe and declarative way. All the queries and operations are completely expressed within Haskell, no embedded (SQL) commands are needed.

The code base is around a decade now, and quite mature, but it has only recently been brought into the cabal and hackage world, making it trivial to package up and distribute. You can find all the packages here:

This release of haskelldb is layered over medium-level database interface suite, hdbc., so it can reuse the hdbc backends. The layers of Haskell database libs packaged up looks something like:

  1. High level: haskelldb, Takusen
  2. “Normal” level: HDBC, hsql
  3. Low level: sqlite, anydbm, hsSqlite3, PostgreSQL, BerkeleyDB

Low level ones typically just wrap the C interfaces underneath, providing few new safety guarantees. Medium level ones generally present a “sensible” Haskell API to the exposed db libraries, while the high level ones attempt to abstract out significant safety or productivity by embedding concepts deeper into the language.

Different libraries support different C backends, I’ll attempt to break that down here:

mysql postgres sqlite odbc oracle notes
hdbc Documented in RWH
haskelldb
High level
takusen Chooses backend(s) via compile time flag
hsql ? ? Less active?

Also of note is haskell-couchdb , and even haskell-hs3, for a different storage needs.

Finally, if you want to step away from calling out  to C altogether, and go for something purely in Haskell, there’s haskell-tcache, a transactional cache with configurable persistence in 100% Haskell using transactional memory.

Functional reactive grapefruit

Grapefruit is a new suite of libraries for functional reactive-style GUIs layered on top of GTK (via gtk2hs), announced today. Besides being a modern FRP gui library, it notably uses arrow syntax to describe gui components.

Arrow syntax is a bit of a rarity in Haskell code:

    addA f g = proc x -> do
                    y <- f -< x
                    z <- g -< x
                    returnA -< y + z

Will build the computation:

All the components are packaged here for Arch Linux.

In other funky Haskell gui news, haskell-haha has also been released and packaged for Arch, and lets us do vector graphics in ascii in the terminal…. hell yeah!
Here’s a video of haha at work, and how to get it via cabal (yaourt also works fine):

Arch Haskell News: Feb 07 2009

A regular update of Haskell in Arch Linux

Arch now has 899 Haskell packages in AUR.

That’s an increase of 35 new packages in the last 13 days, or 2.4 new Haskell apps a day. Well done everyone! Here’s the 90 day moving average of releases on hackage.haskell.org

The Arch Haskell Team maintains the Haskell toolchain on Arch Linux. You can join us in #arch-haskell on freenode.org, or on the mailing list.