convertible provides a typeclass with a single function that is designed to help convert between different types: numeric values, dates and times, and the like. The conversions perform bounds checking and return a pure Either value. This means that you need not remember which specific function performs the conversion you desire.
Also included in the package are optional instances that provide conversion for various numeric and time types, as well as utilities for writing your own instances.
Finally, there is a function that will raise an exception on bounds-checking violation, or return a bare value otherwise, implemented in terms of the safer function described above.
Convertible is also used by HDBC 2.0 for handling marshalling of data to and from databases.
Convertible is backed by an extensive test suite and passes tests on GHC and Hugs.
This is a port of John Goerzen's convertible package, intended to distinguish between conversions which are guaranteed to succeed and those which might fail. It uses the attempt package, which in turn uses the failure package, so that this package is fully compatible with the failure framework.
This package currently contains all of the typeclasses and instances for convertible. However, as these features are ported to the convertible package, this package will be left with only the instances for converting to and from text types (String, ByteString (lazy and strict) and Text (lazy and strict).
Be aware that conversions to and from bytestrings assume UTF-8 encoding. If a different encoding is desired, you can use a newtype wrapper and declare an instance of ConvertAttempt or ConvertSuccess on it.
The main module to import is Data.Convertible.Text.
The darcs-fastconvert tool allows you to both import git repositories into darcs (using git fast-export) and export darcs repositories into git (using git fast-import). You may also achieve some success with 3rd-party fast-import/fast-export tools, like bzr-fastimport although this is not explicitly supported or tested. Often, converting from X to git and then to darcs works better than direct X to darcs conversion using 3rd-party tools.
Conversion utility for the GenI generator
One-time, faithful conversion of Subversion repositories to Git.
This program is useful for turning a directory tree of .wav files (presumably created by a CD ripping program) into a tree of .ogg files with proper metadata. It is meant to be run on a directory tree in which the directory structure is organized according to the artist and album names. It runs an .ogg encoder (which is assumed to be installed) and sets the metadata in the resulting .ogg files based on the directory organization. (See the README for examples.) It would be easy to adapt the code to generate .mp3 files instead of .ogg, or to use a different encoder (currently the "oggenc" program is assumed.)
convert xoj files into various formats (SVG,SVG+index.html..)