[Haskell-cafe] Infix operators naming conflicts (was: class Ref)
Abraham Egnor
abe.egnor at gmail.com
Tue Jun 7 10:14:19 EDT 2005
On 6/7/05, Dimitry Golubovsky <golubovsky at gmail.com> wrote:
> Gracjan Polak wrote:
>
> > val = readIORef
> > a=:b = writeIORef a b
>
> Pretty shame := is already reserver :(. There is something alike
> Graphics.Rendering.OpenGL.GL.StateVar. The use $= for assignment.
> Generalizing "variables" (in respect to some monad) seems to be often
> reinvented idea :)
Indeed; another example is
<http://ofb.net/repos/attribute/src/Data/Attribute.hs>.
Abe
More information about the Haskell-Cafe
mailing list