[Haskell-cafe] Re: Editors for Haskell
Thomas Hallgren
hallgren at cse.ogi.edu
Thu Jun 1 02:05:04 EDT 2006
Brian Hulley wrote:
>
> Another thing which causes difficulty is the use of qualified operators,
> and the fact that the qualification syntax is in the context free
> grammar instead of being kept in the lexical syntax (where I think it
> belongs).
You are in luck, because according to the Haskell 98 Report, qualified
names are in the lexical syntax!
http://www.haskell.org/onlinereport/syntax-iso.html
So, C.f is a qualified name, but C . f is composition of the Constructor
C with the function f.
--
Thomas H
More information about the Haskell-Cafe
mailing list