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

bug?

Maarten Fokkinga

18 Apr 2001 18 Apr '01
1:24 p.m.

-- Hugs Version February 2001. -- dummy1 and dummy2 behave differently when evaluated on the command line. -- So, a type synonym and its definition are not completely interchangeable. import IO type IOString = IO String dummy1 :: IOString ; dummy1 = return "Dummy" dummy2 :: IO String ; dummy2 = return "Dummy" -- Maarten Fokkinga University of Twente (fac INF), PO Box 217, 7500 AE Enschede, NL http://www.cs.utwente.nl/~fokkinga/ phone: +31 53 4893711 mailto:fokkinga@cs.utwente.nl fax: +31 53 4892927

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.