[Haskell-cafe] monad constraint + record update
Eugene Kirpichov
ekirpichov at gmail.com
Tue Dec 23 14:48:23 EST 2008
I think that Conal Elliot's Semantic Editor Combinators do the thing
even better: http://conal.net/blog/posts/semantic-editor-combinators/
2008/12/23 Brent Yorgey <byorgey at seas.upenn.edu>:
>>
>> Is there a standard update function for fields in data types, something
>> that OO programmers do with assignments like obj.attr := value ?
>
> Oh, I missed this question the first time. You probably want
> Functional References:
>
> http://twan.home.fmf.nl/blog/haskell/overloading-functional-references.details
>
> -Brent
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
--
Евгений Кирпичев
Разработчик Яндекс.Маркета
More information about the Haskell-Cafe
mailing list