Haskell.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview
thread

None

Doug McIlroy

16 Oct 2003 16 Oct '03
12:54 p.m.

In Hugs 1.4, ++ was an operator of class Monad; in Hugs 98 it is an operator on lists. I've looked in the Hugs documentation and haven't found anything about the change (probably a failing of mine, not the documentation). Anyway, that breaks some code in an article that's been accepted for JFP, wherein I overloaded ++ by placing the operand type in class Monad. This doesn't work any more. I don't want to publish code that doesn't work, and I don't want to give up that overloading, which is completely natural. Can you shed any light on what happened between the two versions? Or offer an idea about how to rescue the overloading? Many thanks, Doug McIlroy

0 0
Reply
Sign in to reply online Use email software

Back to the thread

Back to the list

HyperKitty Powered by HyperKitty version 1.3.12.