Jump to content

Talk:Common operator notation

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Dysprosia (talk | contribs) at 11:55, 5 March 2004 (: Yes. Haskell has such a function, as well as <tt>sin</tt> appearing as a postfix operator in the PostScript programming language. ~~~~). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Do programming languages actually exist where sin is a prefix operator? As far as I know, it's always a function requiring parentheses around its argument sin(x), thus avoiding the ambiguity mentioned in the article.
Herbee 11:37, 2004 Mar 5 (UTC)

Yes. Haskell has such a function, as well as sin appearing as a postfix operator in the PostScript programming language. Dysprosia 11:55, 5 Mar 2004 (UTC)