[Haskell-cafe] Please allow beginners to vocalize code. >>= :: -> &&& <- -<

Isaac Dupree isaacdupree at charter.net
Tue Jan 8 17:36:37 EST 2008


Wolfgang Jeltsch wrote:
> Am Dienstag, 8. Januar 2008 21:36 schrieb Richard Kelsall:
>> Now supposing you were on the phone to a Haskell programmer and you
>> wanted to say this
>>
>> f :: Int -> Int
>>
>> I imagine you might say "f maps Int to Int" or "function f has type
>> Int to Int". Both symbols have been translated directly to words. Nobody
>> would say "f, colon colon, Int, dash greater than, Int".
> 
> I would say: “f double-colon Int arrow Int”.

and so we could have several columns, for exmple:

symbol  symbol-pronunciation  meaningful-pronunc.  definition-term
   ->          arrow                 to                 function (except 
that it's used in lots of different places in syntax... function type, 
lambda, case at least)


~Isaac


More information about the Haskell-Cafe mailing list