Blair Zajac | 9 Feb 17:21
Gravatar

Re: Adding ARM to Scala's standard library

Josh,

Thanks, I'll take a look.

BTW, with my sample "With" object, I later realized that different projects will 
want different behavior when close() throws an exception, some will want to 
silence it and others will want to propagate it if the try block didn't throw an 
exception.  So I would need a With.closeable() and With.closeableQuietly().

Blair

Josh Suereth wrote:
> Blair, there's actually a project on github here:
> 
> http://github.com/jsuereth/scala-arm
> 
> I need to get back into it and tweak the thing.  I think my experiment 
> with "leaky monads" is failed, but let me know what you think or if you 
> have any questions.
> 
> 
> - josh
> 
> On Mon, Feb 8, 2010 at 11:41 AM, Blair Zajac <blair <at> orcaware.com 
> <mailto:blair <at> orcaware.com>> wrote:
> 
>     On Feb 8, 2010, at 8:29 AM, Paul Phillips wrote:
> 
>      > On Mon, Feb 08, 2010 at 08:06:41AM -0800, Blair Zajac wrote:
>      >> This looks like something that would do well in Scala's standard
>      >> library.
>      >
>      > I thought you were here the last few months.
> 
>     I've got 19,000 unread messages in my Scala mailbox and not enough
>     time to keep up on everything :(
> 
>     I found Josh's thread mentioning scalax.io <http://scalax.io>, but
>     the source repository at hg.scalaforge.org
>     <http://hg.scalaforge.org> is down.
> 
>     Is the most current discussion at
>     http://groups.google.com/group/scala-incubator/web/arm-questions ?
> 
>      >
>      >> BTW, the reason not to use structural subtyping is performance
>     and it
>      >> doesn't work with Oracle's java.sql.ResultSet subclass:
>      >
>      > http://lampsvn.epfl.ch/trac/scala/ticket/2318
>      > "Structural method is dispatched on non-public member when
>     overriding public member"
> 
>     Thanks.
> 
>     Blair
> 
> 

--

-- 
Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<blair <at> orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/


Gmane