cannot define operators

From: Wolfgang Jeltsch <wolfgang_at_cs.ioc.ee>
Date: Tue, 23 Apr 2013 19:42:37 +0300

Hello,

the following code is not accepted by KiCS2:

> (-->) :: Int -> Int -> Bool
> n --> m = n <= m

It is valid Haskell at least, but KiCS2 says:

> Bug.curry, line 2.1:
> operator symbol expected

Is this a bug?

Best wishes,
Wolfgang

_______________________________________________
curry mailing list
curry_at_lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/curry
Received on Mi Apr 24 2013 - 15:46:47 CEST

This archive was generated by hypermail 2.3.0 : Do Feb 01 2024 - 07:15:11 CET