From 3592a8ba122eaba900698a5ce5808156ed7b268d Mon Sep 17 00:00:00 2001 From: andy Date: Tue, 7 Mar 2000 06:24:23 +0000 Subject: [PATCH] [project @ 2000-03-07 06:24:23 by andy] Adding link for monadic bind. This was causing the monad fail inside pattern matching (use inside the XML lib, for example) to fail. --- ghc/interpreter/link.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ghc/interpreter/link.c b/ghc/interpreter/link.c index aabe2596..956ff99 100644 --- a/ghc/interpreter/link.c +++ b/ghc/interpreter/link.c @@ -9,8 +9,8 @@ * included in the distribution. * * $RCSfile: link.c,v $ - * $Revision: 1.45 $ - * $Date: 2000/02/29 12:27:35 $ + * $Revision: 1.46 $ + * $Date: 2000/03/07 06:24:23 $ * ------------------------------------------------------------------------*/ #include "prelude.h" @@ -411,6 +411,7 @@ Void linkPreludeCM(void) { /* Hook to cfuns and mfuns in */ nameFromInteger = linkName("fromInteger"); nameReturn = linkName("return"); nameBind = linkName(">>="); + nameMFail = linkName("fail"); nameLe = linkName("<="); nameGt = linkName(">"); nameShowsPrec = linkName("showsPrec"); -- 1.7.10.4