From jk@firstlink.com.au Sat Mar 3 02:57:03 2001 Date: Sat, 3 Mar 2001 10:57:03 +0800 From: JN jk@firstlink.com.au Subject: Haskell Hugs 98, I need WinHugs!!!!
This is a multi-part message in MIME format. ------=_NextPart_000_0004_01C0A3D0.AE6EDCC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello there, I have Hugs 98 version for DOS and well I am trying to get hold on the = Win Hugs that my student use at University. I am confused as I don't know wheather I should open it through Hugs = itself or open it up through Windows. From Haskell Hugs's website, I am = not to sure what to download, and when I downloaded the one that I = thought was right, the ZIP file, it didd not have the setup feature I = was looking for!!! PLease help!! Thanks=20 Jia ------=_NextPart_000_0004_01C0A3D0.AE6EDCC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type> <META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT color=3D#000000 size=3D2>Hello there,</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 size=3D2>I have Hugs 98 version for DOS and = well I am=20 trying to get hold on the Win Hugs that my student use at=20 University.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 size=3D2>I am confused as I don't know = wheather I should=20 open it through Hugs itself or open it up through Windows. From Haskell = Hugs's=20 website, I am not to sure what to download, and when I downloaded the = one that I=20 thought was right, the ZIP file, it didd not have the setup feature I = was=20 looking for!!!</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT size=3D2>PLease help!!</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>Thanks </FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>Jia</FONT></DIV></BODY></HTML> ------=_NextPart_000_0004_01C0A3D0.AE6EDCC0--From nordland@cse.ogi.edu Sat Mar 3 00:49:53 2001 Date: Fri, 02 Mar 2001 16:49:53 -0800 From: Johan Nordlander nordland@cse.ogi.edu Subject: Haskell Hugs 98, I need WinHugs!!!!
> JN wrote: > > Hello there, > > I have Hugs 98 version for DOS and well I am trying to get hold on the > Win Hugs that my student use at University. > > I am confused as I don't know wheather I should open it through Hugs > itself or open it up through Windows. From Haskell Hugs's website, I > am not to sure what to download, and when I downloaded the one that I > thought was right, the ZIP file, it didd not have the setup feature I > was looking for!!! > > PLease help!! > > Thanks > > Jia Hi Jia, Maybe the download page contains too many options... Anyway, the easiest way for you to proceed is to download http://www.cse.ogi.edu/PacSoft/projects/Hugs/downloads/hugs98-Feb2001.msi This Miscrosoft Installer package contains everything you need. Good luck! -- JohanFrom tell.me.more@pobox.com Sun Mar 11 15:34:43 2001 Date: Sun, 11 Mar 2001 10:34:43 -0500 From: tell.me.more@pobox.com tell.me.more@pobox.com Subject: ADV: ===>> FREE 1 yr. USA Magazine Sub sent worldwide-200+ Choices! Up to $81.
With your first purchase of any size of any new or renewal subscription AT OUR GUARANTEED LOWEST RATE (we BEAT all competitor's prices before you pay us and will even go back 6 months later if you find a better deal and refund you the difference!); customers living overseas pay only for FPH (foreign postage & handling) on the free subscription. ____________________________________________________________ FOR MORE INFO: Just fill out the below form and return to us via email, with the subject line of "TELL ME MORE" at: tell.me.more@pobox.com ____________________________________________________________ TO BE REMOVED FROM OUR LIST: Just send a blank email message with the subject line of: "REMOVE" from the email address that you would like to have removed to: tell.me.more@pobox.com ____________________________________________________________ Remove requests will be immediately honored and requests for more information will be fulfilled within 24 hours. ____________________________________________________________ ***For more information, IF YOU DO NOT GET A REPLY within 24 hours, or the email bounces due to our servers being overloaded from those replying, or if it bounces for any other reason, then just fax us at: 1-602-294-5643 in the USA or write us via smail at: or send via smail (first class mail or airmail) to: Tempting Tear-Outs / Att. Free-catalogue-by-email Dept PMB 200 3835 Richmond Ave. Staten Island NY 10312-3828 USA ____________________________________________________________ When replying for more information, your subject line must say "TELL ME MORE" and the body of your message must include only this form, completely filled out*: (*If you can't figure out how to cut and past this text, just type it out in the same format): *------------cut here/begin-------------------------------------------* ***For more information, IF YOU DO NOT GET A REPLY within 24 hours, or the email bounces due to our servers being overloaded from those replying, or if it bounces for any other reason, then just fax us at: 1-602-294-5643 in the USA Yes, please send me more info. I realize I am not committing myself to buying anything at this time and I would just like more info on the offer and a FREE copy of your magazine subscription catalogue. Here are my details: Name (First Middle Last): Internet email address: Smail home address: City-State-Zip: Country: Work Tel. #: Work Fax #: Home Tel. #: Home Fax #: Cellular (Mobile) Tel. #: Beeper (Pager) Tel. #: How did you hear about us (name of person/company who referred you or the area of the internet that you saw us mentioned in): Referred by: Tempting Tear-Outs 031001-ls Name of USA mags you currently get on the newsstand or in the store: Name of USA mags you currently get on a subscription basis, through the mail: Name of USA mags you would like price quotes on when we call you: Catalogue version desired (list number of choice below): *------------cut here/end--------------------------------------------* CATALOGUE VERSION CHOICES: 1. This version can be read by everyone, no matter what type of computer you use, or what type of software you use. It is a simple format, with just our entire catalogue pasted into the body of a single email message, 712K in size. If you use pine or elm on a unix system or an advanced software version such as Eudora Pro 3.0 or later, you will most likely receive it as a single email message. However, if your software limits incoming email messages to a certain size, say 32K or so, then your software will split it into multiple email message parts. Whether you receive it as a single email message or multiple part email messages, you can easily paste it into one whole text document with your word processor, in about 10 minutes or so. 2. For more advanced computer users: attached plain ascii text file ~712K - you must know how to download an attached text file and then be able to locate it on your hard drive or system home directory; it can then be opened with any pc or mac word processing software. If in doubt, don't ask for this version. This isn't for internet *newbies.* Better to order option 1 and spend a few minutes pasting them into one whole text document with your word processor, than to waste hours trying to figure how to deal with this option. This version is great for doing keyword searches and jumping around within the catalogue with your word processing software, if your normal email reading software doesn't allow this. WHO WE ARE: Tempting Tear-Outs is an advertising company that brings potential new customers to the companies they advertise for. MORE ABOUT THE COMPANY MAKING THE FREE OFFER AND THE FREE OFFER ITSELF: The company making the offer is a magazine subscription agency based in the USA. They have over 1,100 popular USA titles available to be shipped to ANY country, including of course, to anywhere in the USA! They offer a FREE 1 yr. subscription to your choice of over 200 of the titles in their catalogue to any new customer using them for the first time. The dollar value of the freebies, based on the subscription prices directly from the publishers, ranges from $6.97 all the way up to $81.00! For new customers in the USA, there is no charge for FPH (foreign postage & handling), so the freebie is 100% free! For new customers living overseas, the only charge on the freebie would be for the FPH (foreign postage & handling). Their president has been in the magazine subscription business since 1973 and they are very customer-service oriented. They will even help you with address changes on your magazines, even if you move from one country to another country. They have thousands of happy customers in over 59 countries. Their price guarantee is very simple: they guarantee that their subscription prices are the lowest available and they will BEAT any legitimate, verifiable offer before you pay them or match it afterwards, by refunding you the difference in price PLUS the cost of the postage stamp you would use sending in the special offer to them, even 6 months after you pay them, as long as it was current at the time of your offer. Does that sound fair? Wouldn't it be great if everything you bought came with that price guarantee? Sometimes they are less than half of the next best deal out there, sometimes just a little cheaper, but always you get the lowest rates without having to shop around. With 1,100+ titles on their list, they would like to think that they have also the best selection around! Within the USA, for their USA customers, they are cheaper than all their competitors and even the publishers themselves. This is their price guarantee. The 1 yr. freebie that you get with your first order is completely free! Overseas, (even after you factor in the cost of the FPH (foreign postage & handling) and the conversion from USA Dollars to your currency), on the average, they are generally around one-fourth to one-half of what the newsstands overseas charge locally for USA magazines. On some titles they are as little as one-tenth of what the newsstands charge. They are also the cheapest subscription source for delivery overseas, including directly from the publishers themselves! Some publishers don't even offer subscriptions overseas.........but overseas subscriptions are this company's specialty! They feel that magazines should not be a luxury overseas. In the USA, people buy magazines and then toss them after reading them for just a few minutes or hours. They are so cheap in the USA! Well, this company would like to make it the same way for their overseas customers. They are also cheaper than all their competitors in the USA and overseas, including the publishers themselves! It is also *highly unlikely* you will find any of their USA competitors calling you overseas, in order to offer that personal touch, just to sell you a couple of magazines! But that is what this company specializes in and loves doing! Around one-half their business comes from overseas, so they are very patient with new customers who only speak limited English as a 2nd language. Subscription prices quoted for overseas consist of the subscription price, plus the FPH. You add the two together and that is your total cost. The exception is the 1 yr. freebie you get with your first order. On that title, you pay *only* the FPH for the 1 yr. term. Their prices are so cheap because when you deal with them, you cut-out all the middlemen. HERE IS HOW YOU CAN GET MORE INFO AND GET STARTED WITH THEM: Simply email, fax or smail back to us the reply form listed at the top of this message. We will then forward your form on to the subscription agency. They will then email their "big and juicy" catalogue to you, in whichever of the two formats you chose. The catalogue is FREE and makes for hours of fascinating reading, on its own. It includes the complete list of freebies, a complete list of all the titles they sell, as well as detailed descriptions on most of the titles, along with lists of titles by category of interest and their terms of sale. They will then give you a friendly, no-pressure, no obligation, 5-minute call to go over how they work and to answer any questions that you might have, as well as give you up-to-the minute price quotes on any titles you might be considering. They will call you in whatever country you live in, taking the time difference into account. As they like to emphasize the personal touch they give to each new customer, all first-time orders can only be done via phone, so they can answer all your questions completely and personally. Once you have placed your first order via phone, you will be able to place future orders and make inquiries on your account, get price quotes, etc., all via email, if that is most convenient for you. Within the USA, they accept payment via check over the phone, Mastercard, Visa, American Express, Diner's Club and Carte Blanche. Overseas, they accept Mastercard, Visa, American Express, Diner's Club and Carte Blanche, even if your credit card is a local one in local currency (that most merchants in the USA would not normally be willing to accept). That's our introduction of our client that we represent. We hope that we have piqued your interest and that you will take the next step to get their free catalogue! Thank you for your time and interest. -- Tempting Tear-Outs. For more info on marketing & consulting rates, please write us on your company letterhead, w/business card, via smail to: Tempting Tear-Outs, 3835 Richmond Ave. #200, Staten Island NY 10312-3828, USA. This email message has been sent to you by: Tempting Tear-Outs, 3835 Richmond Ave. #200, Staten Island NY 10312-3828, USA.From andreas.marth@daimlerchrysler.com Mon Mar 12 18:40:21 2001 Date: Mon, 12 Mar 2001 19:40:21 +0100 From: andreas.marth@daimlerchrysler.com andreas.marth@daimlerchrysler.com Subject: Is this a bug?
Hallo! I just wonder why=20 map (^2*3) [1..9] returns [1,64,729,4096,15625,46656,117649,262144,531441] . [i^2*3|i<-[1..9]] return the expected [3,12,27,48,75,108,147,192,243]. And so does map (\a->a^2*3) [1..9]. So why is (^2*3) not equvalent to \a->a^2*3 ? Thanks, Andreas=From jf15@hermes.cam.ac.uk Mon Mar 12 18:59:11 2001 Date: Mon, 12 Mar 2001 18:59:11 +0000 (GMT) From: Jon Fairbairn jf15@hermes.cam.ac.uk Subject: Is this a bug?
I think so. The language grammar requires (if I read it correctly) that the expr in an aexp of the form (op expr) have a higher priority than op. On Mon, 12 Mar 2001 andreas.marth@daimlerchrysler.com wrote: > So why is (^2*3) not equvalent to \a->a^2*3 ? Because it's being parsed as (^(2*3)) when it should be rejected. J=F3n --=20 J=F3n Fairbairn Jon.Fairbairn@cl.cam.ac.uk 31 Chalmers Road jf@cl.cam.ac.uk Cambridge CB1 3SZ +44 1223 570179 (pm only, please)From nordland@cse.ogi.edu Tue Mar 13 19:42:39 2001 Date: Tue, 13 Mar 2001 11:42:39 -0800 From: Johan Nordlander nordland@cse.ogi.edu Subject: Is this a bug?
Jon Fairbairn wrote: > > I think so. The language grammar requires (if I read it > correctly) that the expr in an aexp of the form (op > expr) have a higher priority than op. > > On Mon, 12 Mar 2001 andreas.marth@daimlerchrysler.com wrote: > > So why is (^2*3) not equvalent to \a->a^2*3 ? > > Because it's being parsed as (^(2*3)) when it should be > rejected. > > J=F3n Yes, this is one of a few known and relatively insignificant differences between Hugs 98 and the Haskell report. See further the Hugs manual, section 9.1: http://www.cse.ogi.edu/PacSoft/projects/Hugs/pages/hugsman/diffs.html All the best, JohanFrom biotechinfo2007@yahoo.com Mon Mar 12 17:55:01 2001 Date: Mon, 12 Mar 2001 17:55:01 From: biotechinfo2007@yahoo.com biotechinfo2007@yahoo.com Subject: FREE Biotech Stock Info! 78
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>Do you want to capitalize on the Biotech Revolution</title> </head> <body> <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" align="center"><img border="0" src="http://www.geocities.com/mailtestbox2000/Kiloh_logo.gif" width="204" height="170"></p> <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:Arial">Do you want to capitalize on the Biotech Revolution? Would you like to add groundbreaking biotech, pharmaceutical and medical device companies to your portfolio mix? Does hearing about exciting IPO and private placement offerings from life sciences companies interest you?</span></p> <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:Arial">The exclusive <b>Ruddy-Carlisle Biotech Infoline</b> service keeps you abreast of investment opportunities in the life sciences space. Just sign up for it once and get important information instantly delivered to study at your leisure. Our service is <b><u>100% FREE</u></b>! <b><span style="color:blue"><a href="mailto:biotechsubscribe@yahoo.com">Sign up!</a></span></b></span></p> <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><i><span style="font-size:11.0pt;mso-bidi-font-size:12.0pt;font-family:Arial;color:#003366">Ruddy-Carlisle Biotech Infoline:</span></i></b></p> <ul type="disc"> <li class="MsoNormal" style="color:#003366;mso-margin-top-alt:auto;mso-margin-bottom-alt: auto;mso-list:l0 level1 lfo1;tab-stops:list .5in"><b><i><span style="font-size:11.0pt;mso-bidi-font-size:12.0pt;font-family:Arial">Instantly delivers key life sciences investment information directly to you! </span></i></b><o:p> </o:p> </li> <li class="MsoNormal" style="color:#003366;mso-margin-top-alt:auto;mso-margin-bottom-alt: auto;mso-list:l0 level1 lfo1;tab-stops:list .5in"><b><i><span style="font-size:11.0pt;mso-bidi-font-size:12.0pt;font-family:Arial">Learn about biotech, pharmaceutical & medical device investment opportunities before others! </span></i></b><o:p> </o:p> </li> <li class="MsoNormal" style="color:#003366;mso-margin-top-alt:auto;mso-margin-bottom-alt: auto;mso-list:l0 level1 lfo1;tab-stops:list .5in"><b><i><span style="font-size:11.0pt;mso-bidi-font-size:12.0pt;font-family:Arial">Includes IPO & private placement information! </span></i></b><o:p> </o:p> </li> <li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; mso-list:l0 level1 lfo1;tab-stops:list .5in"><b><i><span style="font-size: 11.0pt;mso-bidi-font-size:12.0pt;font-family:Arial;color:#003366">100% FREE!</span></i></b></li> </ul> <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:Arial">For the entire last decade there were only three profitable biotech companies. At the end of this year, ten are projected. At the end of 2003, <u>over forty</u> are projected! The genomic promise is about to be delivered and investors know it. The <b>Ruddy-Carlisle Biotech Infoline </b>provides you with critical, decision-making, information that aids the chance of investment success in this lucrative space. <b><span style="color:blue"><a href="mailto:biotechsubscribe@yahoo.com">Sign up!</a></span></b></span></p> <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-family:Arial">Please Note-</span></b><span style="font-family:Arial"> Your information will only be shared with companies that are in the life sciences space <u>and</u> pass our rigorous inspection. Only the best opportunities will come to you. Ruddy-Carlisle respects your privacy. <b><span style="color:blue"><a href="mailto:biotechsubscribe@yahoo.com">Sign up!</a></span></b></span></p> <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p> <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p> <b><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial; mso-fareast-font-family:"Times New Roman";mso-ansi-language:EN-US;mso-fareast-language: EN-US;mso-bidi-language:AR-SA"> </p> </p>List Removal Instructions</span></b><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial;mso-fareast-font-family: "Times New Roman";mso-ansi-language:EN-US;mso-fareast-language:EN-US; mso-bidi-language:AR-SA">- Simply click here: <b><span style="color:blue"><a href="mailto:remobiotech@yahoo.com">remove</a></span></b> to be instantly and permanently removed from our list. Send the blank email to the address specified. Please do not try to reply to this message.</span> </body> </html>From Swigs@iprimus.com.au Tue Mar 13 10:25:49 2001 Date: Tue, 13 Mar 2001 18:25:49 +0800 From: Swee Guan Swigs@iprimus.com.au Subject: HUGS98-feb2001 edition
This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C0ABEB.076CA9C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I want to know how to install the hugs programs for windows as i cant = seem to get it going plese inform me on how to do this. Please send reply to swigs01@hotmail.com thank you ------=_NextPart_000_0007_01C0ABEB.076CA9C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I want to know how to install the hugs = programs for=20 windows as i cant seem to get it going plese inform me on how to do=20 this.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Please send reply to <A=20 href=3D"mailto:swigs01@hotmail.com">swigs01@hotmail.com</A> thank=20 you</FONT></DIV></BODY></HTML> ------=_NextPart_000_0007_01C0ABEB.076CA9C0--From Malcolm.Wallace@cs.york.ac.uk Tue Mar 13 10:36:22 2001 Date: Tue, 13 Mar 2001 10:36:22 +0000 From: Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk Subject: Is this a bug?
Jón Fairbairn writes: > > So why is (^2*3) not equvalent to \a->a^2*3 ? > > Because it's being parsed as (^(2*3)) when it should be > rejected. Interestingly enough, all of Hugs, nhc98, and hbc make the same mistake. Only ghc rejects the expression, correctly complaining that the fixities do not match. Regards, MalcolmFrom jf15@hermes.cam.ac.uk Tue Mar 13 10:44:43 2001 Date: Tue, 13 Mar 2001 10:44:43 +0000 (GMT) From: Jon Fairbairn jf15@hermes.cam.ac.uk Subject: Is this a bug?
On Tue, 13 Mar 2001, Malcolm Wallace wrote: > Interestingly enough, all of Hugs, nhc98, and hbc make the same > mistake. Only ghc rejects the expression, correctly complaining that > the fixities do not match. Why is this common? The language design seems to be correct and it's not hard to get the implementation right, surely? J=F3n --=20 J=F3n Fairbairn Jon.Fairbairn@cl.cam.ac.uk 31 Chalmers Road jf@cl.cam.ac.uk Cambridge CB1 3SZ +44 1223 570179 (pm only, please)From Malcolm.Wallace@cs.york.ac.uk Tue Mar 13 14:22:28 2001 Date: Tue, 13 Mar 2001 14:22:28 +0000 From: Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk Subject: Is this a bug?
| On Tue, 13 Mar 2001, Malcolm Wallace wrote: | > Interestingly enough, all of Hugs, nhc98, and hbc make the same | > mistake. Only ghc rejects the expression, correctly complaining that | > the fixities do not match. | | Why is this common? The language design seems to be correct | and it's not hard to get the implementation right, surely? Getting infix right is one of the hardest parts of parsing Haskell. The main difficulty arises because fixities and priorities can be declared in the source itself (local to definitions - indeed, fixity can be declared /after/ the use of the symbol). Most systems tend to have a liberal parser, accepting all kinds of infix expression, then later on, typically during renaming, they attempt to detect errors and patch-up the expressions given the declared fixity that was in scope. Hbc is the only system that actually changes its parsing rules on-the-fly as it reads a fixity decl. This is one reason why it is interesting that hbc makes the same mistake as Hugs - it shows there is a different mechanism/assumption at work. The mistake arises because of the operator section. After finding the outermost operator, the system (at least in nhc98) simply treats the whole of the rest of the expression as its argument, essentially demoting the sectioned operator to zero priority. Regards, Malcolm P.S. Now fixed in nhc98.From andreas.marth@daimlerchrysler.com Wed Mar 14 17:17:02 2001 Date: Wed, 14 Mar 2001 18:17:02 +0100 From: andreas.marth@daimlerchrysler.com andreas.marth@daimlerchrysler.com Subject: Observe
Hallo! With Hugs98Feb2001 comes a module Observe.lhs (in lib/exts). Is there a= ny=20 documentation available? (I looked into the library documentation=20 http://www.cse.ogi.edu/PacSoft/projects/Hugs/pages/hugsman/libs.html bu= t=20 couldn't find any. Thanks, Andreas=From nordland@cse.ogi.edu Wed Mar 14 17:57:57 2001 Date: Wed, 14 Mar 2001 09:57:57 -0800 From: Johan Nordlander nordland@cse.ogi.edu Subject: Observe
andreas.marth@daimlerchrysler.com wrote: > > Hallo! > > With Hugs98Feb2001 comes a module Observe.lhs (in lib/exts). Is there any > documentation available? > (I looked into the library documentation > http://www.cse.ogi.edu/PacSoft/projects/Hugs/pages/hugsman/libs.html but > couldn't find any. > > Thanks, > Andreas Hi Andreas, Have a look in the release notes, which you find in the docs/ directory in the Hugs distribution. All the best, JohanFrom nordland@cse.ogi.edu Wed Mar 14 18:11:40 2001 Date: Wed, 14 Mar 2001 10:11:40 -0800 From: Johan Nordlander nordland@cse.ogi.edu Subject: HUGS98-feb2001 edition
> Swee Guan wrote: > > I want to know how to install the hugs programs for windows as i cant > seem to get it going plese inform me on how to do this. > > Please send reply to swigs01@hotmail.com thank you Hi Swee, Go to the Hugs download page, scroll down until you see the heading "Special items for Win 32 platforms", and then click on the first link that follows (hugs98-Feb2001.msi). That should start the download of a Windows Installer package. When that file is on your hard-disk, just double-click it and Hugs 98 will be installed. This will among other things result in a link to Hugs 98 in your startup menu. Good luck, JohanFrom claus.reinke@talk21.com Wed Mar 14 20:51:37 2001 Date: Wed, 14 Mar 2001 20:51:37 -0000 From: Claus Reinke claus.reinke@talk21.com Subject: Observe
From: Johan Nordlander <nordland@cse.ogi.edu> > andreas.marth@daimlerchrysler.com wrote: > > With Hugs98Feb2001 comes a module Observe.lhs (in lib/exts). Is there any > > documentation available? > Have a look in the release notes, which you find in the docs/ directory > in the Hugs distribution. Or try: The Hood homepage www.haskell.org/hood/ Debugging Haskell by Observing Intermediate Data Structures, Andy Gill. Haskell Workshop, Sep 2000. http://www.cse.ogi.edu/~andy/pub/debug.htm If you like that, you might also find GHood interesting: http://www.cs.ukc.ac.uk/people/staff/cr3/toolbox/haskell/GHood/ Hth, ClausFrom thaeberl@bach.informatik.uni-ulm.de Mon Mar 19 10:40:43 2001 Date: Mon, 19 Mar 2001 11:40:43 +0100 From: Tobias Haeberlein thaeberl@bach.informatik.uni-ulm.de Subject: Bug? - 'forall' in type/data - decls
Hi all! Why doesnt Hugs (Version February 2001, run with -98 option) accept the following? - type A = (forall b. b -> b) -> Int yields: "Syntax error in type expression (unexpected keyword "forall") " - data A = B ((forall b. b -> b) -> Int) yields "Syntax error in type expression (unexpected `->')" whereas ghc accepts both... TobiFrom Swigs@iprimus.com.au Tue Mar 20 09:13:12 2001 Date: Tue, 20 Mar 2001 17:13:12 +0800 From: Swee Guan Swigs@iprimus.com.au Subject: Hugs question
This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C0B161.0B114880 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I was suppose to find a function mid3 that takes three integers and = returns the middle one in terms of size but i cant seem to get it. maybe you can help mid3 :: Int -> Int -> Int -> Int -- mid3 takes three integers and=20 -- returns the middle one in terms of size mid3 x y z =3D min2 x (max2 y z) please send to swigs01@hotmail.com ------=_NextPart_000_0007_01C0B161.0B114880 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I was suppose to find a function mid3 = that takes=20 three integers and returns the middle one in terms of size but i cant = seem to=20 get it.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>maybe you can help</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>mid3 :: Int -> Int -> Int -> = Int<BR>--=20 mid3 takes three integers and <BR>-- returns the middle one in terms of=20 size<BR>mid3 x y z =3D min2 x (max2 y z)</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>please send to=20 swigs01@hotmail.com</FONT></DIV></BODY></HTML> ------=_NextPart_000_0007_01C0B161.0B114880--From Swigs@iprimus.com.au Tue Mar 20 09:16:42 2001 Date: Tue, 20 Mar 2001 17:16:42 +0800 From: Swee Guan Swigs@iprimus.com.au Subject: Fw: Hugs question
This is a multi-part message in MIME format. ------=_NextPart_000_0009_01C0B161.889E6580 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ----- Original Message -----=20 From: Swee Guan=20 To: hugs-users@haskell.org=20 Sent: Tuesday, March 20, 2001 5:13 PM Subject: Hugs question I was suppose to find a function mid3 that takes three integers and = returns the middle one in terms of size but i cant seem to get it. maybe you can help mid3 :: Int -> Int -> Int -> Int -- mid3 takes three integers and=20 -- returns the middle one in terms of size mid3 x y z =3D min2 x (max2 y z) please send to swigs01@hotmail.com ------=_NextPart_000_0009_01C0B161.889E6580 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV style=3D"FONT: 10pt arial">----- Original Message -----=20 <DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20 title=3DSwigs@iprimus.com.au href=3D"mailto:Swigs@iprimus.com.au">Swee = Guan</A>=20 </DIV> <DIV><B>To:</B> <A title=3Dhugs-users@haskell.org=20 href=3D"mailto:hugs-users@haskell.org">hugs-users@haskell.org</A> </DIV> <DIV><B>Sent:</B> Tuesday, March 20, 2001 5:13 PM</DIV> <DIV><B>Subject:</B> Hugs question</DIV></DIV> <DIV><BR></DIV> <DIV><FONT face=3DArial size=3D2>I was suppose to find a function mid3 = that takes=20 three integers and returns the middle one in terms of size but i cant = seem to=20 get it.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>maybe you can help</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>mid3 :: Int -> Int -> Int -> = Int<BR>--=20 mid3 takes three integers and <BR>-- returns the middle one in terms of=20 size<BR>mid3 x y z =3D min2 x (max2 y z)</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>please send to <A=20 href=3D"mailto:swigs01@hotmail.com">swigs01@hotmail.com</A></FONT></DIV><= /BODY></HTML> ------=_NextPart_000_0009_01C0B161.889E6580--From Irfon-Kim Ahmad
>I was suppose to find a function mid3 that takes three integers and returns >the middle one in terms of size but i cant seem to get it. >maybe you can help > >mid3 :: Int -> Int -> Int -> Int >-- mid3 takes three integers and >-- returns the middle one in terms of size >mid3 x y z = min2 x (max2 y z) The only problem I can see with this definition is that if you hadn't previously defined min2 and max2, then it would fail, since these aren't in the prelude. However, if you replace those with min and max, it seems to work fine. I assume that you had to define min2 and max2 previous in your exercise. Maybe you could post those definitions as well as what the problem you're encountering is. -- Irfon-Kim Ahmad http://members.home.com/irfon/ahmadi/From uk1o@rz.uni-karlsruhe.de Wed Mar 21 11:00:28 2001 Date: Wed, 21 Mar 2001 12:00:28 +0100 From: Hannah Schroeter uk1o@rz.uni-karlsruhe.de Subject: Hugs question
Hello! On Tue, Mar 20, 2001 at 05:13:12PM +0800, Swee Guan wrote: > I was suppose to find a function mid3 that takes three integers and returns the middle one in terms of size but i cant seem to get it. > maybe you can help > mid3 :: Int -> Int -> Int -> Int > -- mid3 takes three integers and > -- returns the middle one in terms of size > mid3 x y z = min2 x (max2 y z) > please send to swigs01@hotmail.com This is plain wrong. 1st, min2 and max2 aren't defined (use min and max from the prelude). 2nd, then, mid3 1 2 3 = min 1 (max 2 3) = min 1 3 = 1, instead of 2. A simple implementation could be: import List(sort) mid3 x y z = (sort [x,y,z]) !! 1 Kind regards, Hannah.