Personal tools

Alternatives and extensions for libraries

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
m (Categorised)
(Prelude exts)
Line 6: Line 6:
   
 
It is debatable whether a new version under a different name should go in the "alternative(s)" column or the "extension(s)" column. Perhaps it should go in the "extension(s)" column if it is (mostly) backward-compatible, and otherwise in the "alternative(s)" column.
 
It is debatable whether a new version under a different name should go in the "alternative(s)" column or the "extension(s)" column. Perhaps it should go in the "extension(s)" column if it is (mostly) backward-compatible, and otherwise in the "alternative(s)" column.
 
'''This page is under construction - it was created 2007-05-11'''
 
   
 
{| class="wikitable"
 
{| class="wikitable"
Line 17: Line 15:
 
|-
 
|-
 
| base<sup id="fn_(base)_back">[[#fn_(base)|(1)]]</sup>
 
| base<sup id="fn_(base)_back">[[#fn_(base)|(1)]]</sup>
  +
| [http://www.haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html Prelude]
  +
| [http://haskell.org/hawiki/LicensedPreludeExts LicensedPreludeExts]
  +
[http://haskell.org/hawiki/PreludeExts PreludeExts]<br>
  +
[[Prelude extensions]]<br>
  +
[http://hackage.haskell.org/cgi-bin/hackage-scripts/package/strict strict]
  +
|
  +
|-
  +
| base
 
| [http://www.haskell.org/ghc/docs/latest/html/libraries/base/Data-Generics.html Data.Generics]
 
| [http://www.haskell.org/ghc/docs/latest/html/libraries/base/Data-Generics.html Data.Generics]
 
| snippet @ [[Scrap your boilerplate]]
 
| snippet @ [[Scrap your boilerplate]]
Line 26: Line 32:
 
|
 
|
 
| [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/wl-pprint wl-pprint]
 
| [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/wl-pprint wl-pprint]
|-
 
| base
 
|
 
| [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/strict strict]
 
|
 
 
|-
 
|-
 
| [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/cgi cgi]
 
| [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/cgi cgi]

Revision as of 11:43, 12 May 2007


This table lists alternatives (packages and modules which can do the same or similar tasks) and extensions (code snippets and libraries which build on top rather than replace), for a range of Haskell packages and modules. Your help is appreciated in expanding it.

When editing this table, please try to keep it in alphabetical order (by package name, then by module name), maintain reflexivity (except with the package named "base") and create relevant links wherever possible. Please also try to avoid duplication and excessively long entries in the table, by creating wiki pages where necessary.

It is debatable whether a new version under a different name should go in the "alternative(s)" column or the "extension(s)" column. Perhaps it should go in the "extension(s)" column if it is (mostly) backward-compatible, and otherwise in the "alternative(s)" column.

Package Module(s) Extension(s) Alternative(s)
base(1) Prelude LicensedPreludeExts

PreludeExts
Prelude extensions
strict

base Data.Generics snippet @ Scrap your boilerplate Generic Haskell

template-haskell

base Text.PrettyPrint.HughesPJ wl-pprint
cgi fastcgi
fastcgi cgi
frisby Text.Parsers.Frisby parsec

polyparse

haskell-src all haskell-src-exts piggybackGHC
haskell-src-exts Language.Haskell.Hsx.* haskell-src

piggybackGHC

monadLib mtl
mtl monadLib
parsec frisby

polyparse

piggybackGHC all haskell-src

haskell-src-exts

polyparse frisby

parsec

template-haskell all patch @ hackage (warning: requires recompiling GHC!)

th-lift

Data.Generics
wl-pprint Text.PrettyPrint.Leijen Text.PrettyPrint.HughesPJ

Note (1): base here, refers to GHC's base package, unless otherwise stated.