You cannot post messages because only members can post, and you are not currently a member.
Description:
Scalaz (Scar-lah-zed) is a library written in the Scala Programming Language. One mandate of the library is to depend only on the core Scala API and the core Java 2 Standard Edition API. The intention of Scalaz is to include general functions that are not currently available in the core Scala API.
|
|
|
io library for scalaz
|
| |
Hi all,
I'm working on an IO library for scalaz. Currently it's tough using
the IO monad because there's no library support in the form of
wrappers around impure Java methods (e.g., java.io.File.listFiles).
Currently I'm working in [link]. I've
spoken with Tony and Runar about the project and they seemed... more »
|
|
Simplify expression
|
| |
suppose I have
type VS[A] = Validation[String, A]
val v: VS[Option[A]]
val f: A => VS[B]
I want to get a result of type VS[Option[B]] but if v is of type
Success(none), the result should also be a success(None). Here's an example:
scala> val v: VS[Option[String]] = some("4.5").success... more »
|
|
Stackless recursion thru deeply nested structures
|
| |
I have just taken a library we have in Java that looks like this:
interface ListenableFuture<T> extends j.u.c.Future<T> {
public void addListener(FutureListener<T> l);
public void removeListener(FutureListener< T> l);
...
Where
interface FutureListener<T> {
void onCancelled();
void onThrowable(Throwable t);... more »
|
|
Default-Value Type Parameter and Named Type Arguments
|
| |
This is a repost from scala-debate, since I was told that there's interest from Scalaz people. Please discuss this on scala-debate if possible to avoid having two discussions on the same topic. There is demand, it would seem, from myself and from others for supporting named type arguments and default values for type parameters. I was asked by... more »
|
|
partial polymorphic type inference
|
| |
Hi,
setting up some initial steps for Scalaz beginners (w/o using Scalaz in the first step), I hit on the following:
trait Functor[F[_]] { def fmap[A,B](f: A => B): F[A] => F[B] }
object Functor {
def fmap[A,B, F[_]](fa: F[A])(f: A => B)(implicit functor: Functor[F]): F[B] =
functor.fmap(f)(fa)... more »
|
|
scalaz7 snapshots
|
| |
Are there any recent scalaz 7 snapshot releases (for 2.9.2) out there? Or
is it a case of build-your-own
Chris
|
|
polyparse
|
| |
I think we should merge in Gerolf Seitz' port of polyparse. Comment?
-- Tony Morris
[link]
|
|
replicateM
|
| |
Noticed that replicateM is not in scalaz-seven. I want to add it, but where
would it go?
Runar
|
|
Migration from 6 to 7
|
| |
Migration from Scalaz 6 to Scalaz 7 has been difficult. Here are some of my
notes, with suggestions on how to improve. I have already made a lot of
improvements, not covered here. Have a read through these and think about
whether you think these are worth the effort for users. Some of them
probably are, others not.... more »
|
|
|