<div class="gmail_quote"><br>Phil:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I wanted to check whether Haskell offers reasonably easy object oriented<br>


programming<br></blockquote><div><br>It depends on what you&#39;re looking for, but in general, you won&#39;t find the same thing you may be used to in native OO languages.<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


1. OOHaskell doesn&#39;t seem to be available in the HackageDB (cabal) -- so how<br>
do I install it especially on Debian ?<br></blockquote><div><br>The paper and source are available via links on the website: <a href="http://homepages.cwi.nl/~ralf/OOHaskell/">http://homepages.cwi.nl/~ralf/OOHaskell/</a> . It appears that you could use darcs with the new repository: <a href="http://code.haskell.org/OOHaskell/">http://code.haskell.org/OOHaskell/</a> .<br>

 <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
2. is OOHaskell the right way to go - is it standardised (H98) or is it<br>
extension and is it widely used and recommended  ?<br></blockquote><div><br>It uses several language extensions beyond H98. AFAIK, it is not widely used. It was an interesting demonstration of the potential of the Haskell type system. I worked with it once, and it&#39;s nice research, but it hasn&#39;t yet been shown to be useful in practice.<br>

<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
3. Haskell 98 offers datatypes and some sort of monadic classes -- is it<br>
possible to build simple objects without OOHaskell ?<br></blockquote><div><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
4. When I want object properties to change, when should I use IORef when<br>
STRef ?<br></blockquote><div><br>Once you become comfortable with Haskell, you will most likely find 
other ways to do things than the OO way. If you ask questions on this 
list about something you want to do, I&#39;m sure you will get answers on 
how to do it the functional way.<br><br>Sean<br>
 </div></div>