[Haskell-cafe] Where does ~> come from?

Stefan O'Rear stefanor at cox.net
Wed Feb 20 19:26:58 EST 2008


On Wed, Feb 20, 2008 at 07:18:42PM -0500, Steve Lihn wrote:
> If ~> does not have any special meaning and it could be ### or xyz,
> then how does GHC know to print
>  a ~> b, but not ~> a b
>  a ### b, but not ### a b
>  xyz a b, but not a `xyz` b
> 
> Simply because xyz is alphanumeric?

Yes.

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20080220/a50ff44d/attachment.bin


More information about the Haskell-Cafe mailing list