[Haskell-beginners] Meaning of variable'

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Sun Jan 4 00:55:26 EST 2009


On 2009 Jan 4, at 0:52, Erik de Castro Lopo wrote:
>    function' = .....
>
> What does the tick mean??


By convention it signals a variant of the function without the tick.   
Semantically it doesn't mean anything special; you can use ' in an  
identifier as long as it's not the first character.

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the Beginners mailing list