[Haskell-cafe] Problem with type families

2009-09-21 Thread Victor Nazarov
I've tried to reimplement code presented in the following blog post: http://cdsmith.wordpress.com/2009/09/20/side-computations-via-type-classes/ But I've got stuck with the following error: Triangulable.hs:41:8: `addRows' is not a (visible) method of class `Triangulable' Triangulable.hs:43:8

Re: [Haskell-cafe] Problem with type families

2009-09-21 Thread Daniel Fischer
Am Montag 21 September 2009 23:15:48 schrieb Victor Nazarov: > I've tried to reimplement code presented in the following blog post: > http://cdsmith.wordpress.com/2009/09/20/side-computations-via-type-classes/ > > But I've got stuck with the following error: > > Triangulable.hs:41:8: > `addRows

Re: [Haskell-cafe] Problem with type families

2009-09-21 Thread Victor Nazarov
On Tue, Sep 22, 2009 at 1:31 AM, Daniel Fischer wrote: > Am Montag 21 September 2009 23:15:48 schrieb Victor Nazarov: >> I've tried to reimplement code presented in the following blog post: >> http://cdsmith.wordpress.com/2009/09/20/side-computations-via-type-classes/ >> >> But I've got stuck with