<commit_before>scalaz-contrib
==============

Interoperability libraries &amp; additional data structures and instances for Scalaz

[![Build Status](https://travis-ci.org/larsrh/scalaz-contrib.png?branch=master)](http://travis-ci.org/larsrh/scalaz-contrib)


Usage
-----

This library is currently available for Scala 2.10 only.

To use the latest version, include the following in your `build.sbt`:

```scala
libraryDependencies ++= Seq(
  "org.typelevel" %% "scalaz-contrib-210" % "0.1",
  "org.typelevel" %% "scalaz-contrib-validation" % "0.1",
  "org.typelevel" %% "scalaz-contrib-undo" % "0.1",
  "org.typelevel" %% "scalaz-dispatch" % "0.1"
)
```

Examples
--------

### Scala 2.10

You can now use type class instances for new data types in the standard library:

```scala
scala> import scalaz._
import scalaz._

scala> import scalaz.contrib.std.utilTry._
import scalaz.contrib.std.utilTry._

scala> Monad[scala.util.Try]
res1: scalaz.Monad[scala.util.Try] = scalaz.contrib.std.TryInstances1$$anon$1@19ae3dd5
```<commit_msg>README: add scalaz-spire 0.2-SNAPSHOT<commit_after>scalaz-contrib
==============

Interoperability libraries &amp; additional data structures and instances for Scalaz

[![Build Status](https://travis-ci.org/larsrh/scalaz-contrib.png?branch=master)](http://travis-ci.org/larsrh/scalaz-contrib)


Usage
-----

This library is currently available for Scala 2.10 only.

To use the latest version, include the following in your `build.sbt`:

```scala
libraryDependencies ++= Seq(
  "org.typelevel" %% "scalaz-contrib-210" % "0.1",
  "org.typelevel" %% "scalaz-contrib-validation" % "0.1",
  "org.typelevel" %% "scalaz-contrib-undo" % "0.1",
  "org.typelevel" %% "scalaz-dispatch" % "0.1"
)
```

For the in-progess features, use the following:

```scala
resolvers += Resolver.sonatypeRepo("snapshots")

libraryDependencies ++= Seq(
  "org.typelevel" %% "scalaz-spire" % "0.2-SNAPSHOT"
)
```

(Of course, the submodules published as 0.1 are also available as `0.2-SNAPSHOT`.)

Examples
--------

### Scala 2.10

You can now use type class instances for new data types in the standard library:

```scala
scala> import scalaz._
import scalaz._

scala> import scalaz.contrib.std.utilTry._
import scalaz.contrib.std.utilTry._

scala> Monad[scala.util.Try]
res1: scalaz.Monad[scala.util.Try] = scalaz.contrib.std.TryInstances1$$anon$1@19ae3dd5
```
{'fraction_non_alphanumeric': 0.16779374471682165, 'fraction_numerical': 0.023668639053254437, 'mean_word_length': 4.530373831775701, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '581986', 'n_tokens_mistral': 887, 'n_tokens_neox': 830, 'n_words': 196}