aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-c2hs/pkg-descr
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2012-12-20 02:23:04 +0000
committerGabor Pali <pgj@FreeBSD.org>2012-12-20 02:23:04 +0000
commitf6f83c9efc2c46d2970746758e2c682bb8a518ec (patch)
tree290f2ea61305744bf0f477895c56b92acaeb361f /devel/hs-c2hs/pkg-descr
parentaf071cfdc1f8578bd1523b823e683074a3139a34 (diff)
downloadports-f6f83c9efc2c46d2970746758e2c682bb8a518ec.tar.gz
ports-f6f83c9efc2c46d2970746758e2c682bb8a518ec.zip
Notes
Diffstat (limited to 'devel/hs-c2hs/pkg-descr')
-rw-r--r--devel/hs-c2hs/pkg-descr13
1 files changed, 5 insertions, 8 deletions
diff --git a/devel/hs-c2hs/pkg-descr b/devel/hs-c2hs/pkg-descr
index ccded44a2df6..9853bcb2643d 100644
--- a/devel/hs-c2hs/pkg-descr
+++ b/devel/hs-c2hs/pkg-descr
@@ -1,10 +1,7 @@
-C->Haskell is an interface generator that simplifies the development of Haskell
-bindings to C libraries. The tool processes existing C header files that
-determine data layout and function signatures on the C side in conjunction with
-Haskell modules that specify Haskell-side type signatures and marshaling
-details. Hooks embedded in the Haskell code signal access to C structures and
-functions -- they are expanded by the interfacing tool in dependence on
-information from the corresponding C header file. Another noteworthy property
-is the lightweight nature of the approach.
+C->Haskell assists in the development of Haskell bindings to C libraries.
+It extracts interface information from C header files and generates Haskell
+code with foreign imports and marshaling. Unlike writing foreign imports
+by hand (or using hsch2s), this ensures that C functions are imported with
+the correct Haskell types.
WWW: http://www.cse.unsw.edu.au/~chak/haskell/c2hs/