[Haskell-cafe] Usage of . and $

David House dmhouse at gmail.com
Wed Mar 7 16:38:50 EST 2007


On 07/03/07, Thomas Conway <drtomc at gmail.com> wrote:
> Of course, what really gets me, is when I start trying to use $ in
> type signatures and declarations:
>    ... Map ByteString $ foo (bar baz) qux ....

It's almost possible! GHC gives us infix type synonyms:

type a $ b = a b

(Probably needs -fglasgow-exts.) Sadly we don't have a fixity system
for type operators :(

-- 
-David House, dmhouse at gmail.com


More information about the Haskell-Cafe mailing list