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 <byor...@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@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
Евгений Кирпичев
Разработчик Яндекс.Маркета
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to