cvs commit: fptools/ghc/utils Makefile fptools/ghc/utils/hs2c Main.hs Makefile hs2c.sh template-hsc.h

Marcin 'Qrczak' Kowalczyk qrczak@knm.org.pl
1 Nov 2000 14:37:25 GMT


Tue, 31 Oct 2000 08:13:55 -0800, Simon Marlow <simonmar@glass.cse.ogi.edu> pisze:

>   Add hs2c (also known as glue-hsc from Marcin Kowalczyk's qforeign
>   package).  Hope you don't mind my changing the name (actually,
>   suggestions for better names are welcome).

I don't mind changing the name. But hs2c suggests that it converts
Haskell modules into C modules. In reality it is closer to the
opposite. Unfortunately the name c2hs was already taken :-)

The order of languages in the file extension .hsc is a different
issue. It may be viewed as a shorthand for .hs+c: Haskell with bits
of C embedded.

Taking file extensions as the starting point, the name hsc2hs would
be IMHO clear.

PS. My mail server's SMTP daemon is dead again. I won't get email
    until they fix it (hopefully tomorrow), unless it is Cc'd to
    qrczak@kki.net.pl
-- 
 __("<  Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK