Unicode variable names: Difference between revisions

→‎{{header|Haskell}}: Removed unneeded compiler option
(Haskell solution.)
(→‎{{header|Haskell}}: Removed unneeded compiler option)
Line 96:
Also, Haskell does not allow mutable variables, so incrementing delta isn't possible. Instead lower case psi was used to store the incremented value of delta since tridents are cool.
 
<lang Haskell>{-#main OPTIONS= -XUnicodeSyntaxprint #-}ψ
 
main = print ψ
where δ = 1
ψ = δ + 1</lang>
</lang>
 
=={{header|Java}}==
Anonymous user