Ross Paterson | 1 Jun 18:53 2006
Picon

cvs commit: hugs98 Makefile RPM.mk hugs98/hsc2hs LICENSE Main.hs hsc2hs.cabal template-hsc.h

ross        2006/06/01 09:53:10 PDT

  Modified files:
    .                    Makefile RPM.mk 
  Removed files:
    hsc2hs               LICENSE Main.hs hsc2hs.cabal 
                         template-hsc.h 
  Log:
  get hsc2hs from darcs

  Revision  Changes    Path
  1.77      +1 -0      hugs98/Makefile
  1.52      +2 -0      hugs98/RPM.mk
Ross Paterson | 2 Jun 00:20 2006
Picon

cvs commit: hugs98/src builtin.c

ross        2006/06/01 15:20:17 PDT

  Modified files:
    src                  builtin.c 
  Log:
  fix for #27

  Revision  Changes    Path
  1.93      +3 -3      hugs98/src/builtin.c
Ross Paterson | 3 Jun 11:05 2006
Picon

cvs commit: www/Hugs/pages downloading-May2006.htm

ross        2006/06/03 02:05:50 PDT

  Modified files:
    Hugs/pages           downloading-May2006.htm 
  Log:
  add FreeBSD and DarwinPorts

  Revision  Changes    Path
  1.3       +6 -4      www/Hugs/pages/downloading-May2006.htm
Ross Paterson | 3 Jun 11:07 2006
Picon

cvs commit: www/Hugs/pages faq.htm

ross        2006/06/03 02:07:26 PDT

  Modified files:
    Hugs/pages           faq.htm 
  Log:
  this page is defunct, but remove hugs-authors anyway

  Revision  Changes    Path
  1.6       +3 -3      www/Hugs/pages/faq.htm
Ross Paterson | 13 Jun 16:30 2006
Picon

cvs commit: hugs98 Makefile hugs98/libraries/tools convert_libraries

ross        2006/06/13 07:30:20 PDT

  Modified files:
    .                    Makefile 
    libraries/tools      convert_libraries 
  Log:
  include (a subset of) the stm package

  Revision  Changes    Path
  1.78      +1 -1      hugs98/Makefile
  1.38      +1 -1      hugs98/libraries/tools/convert_libraries
Neil Mitchell | 29 Jun 19:29 2006
Picon

WinHugs bug #29, $$ doesn't work

Hi,

I'm trying to track down: http://hackage.haskell.org/trac/hugs/ticket/29

The problem is in input.c, all the tests for $$ are written as:
if (it==textRepeat && reading==KEYBOARD) ...

The problem is that WinHugs doesn't pipe directly from the keyboard,
its from a string buffer, i.e. reading == STRING.

The possible values of reading are:

#define NOTHING    0                   /* what kind of input is being read?*/
#define KEYBOARD   1                   /* - keyboard/console?              */
#define SCRIPTFILE 2                   /* - script file                    */
#define STRING     3                   /* - string buffer?                 */
#define NOKEYBOARD 4                   /* - standard input, but not a tty  */

Without knowing the exact purpose of this check, its hard to know how
to modify it for WinHugs. Can I just do reading == KEYBOARD || reading
== STRING? Is there a particular reason that you can't use $$ in a
SCRIPTFILE? Is reading == KEYBOARD required?

Thanks

Neil

Gmane