An open API service indexing awesome lists of open source software.

https://github.com/tpolecat/examples

Example usage of scalaz and uncommon Scala features.
https://github.com/tpolecat/examples

Last synced: over 1 year ago
JSON representation

Example usage of scalaz and uncommon Scala features.

Awesome Lists containing this project

README

          

examples
========

Extremely random crap, much of which needs revisiting. Buyer beware. Note that there are some example tests in `src/test/scala`.

Also, I sometimes write [blog posts](http://tpolecat.github.io/) on Scala.

starting a repl
---------------

Paul Phillips wrote this after becoming outraged by the awful unmaintainable shell alias I was using.

```bash
#!/usr/bin/env bash
#

set -e

pushd "$(mktemp -dt scalaz)"
cat >build.sbt < /dev/null
mate -w META-INF/MANIFEST.MF
jar umf META-INF/MANIFEST.MF $1 2> /dev/null
rm META-INF/MANIFEST.MF
rmdir META-INF
echo "*** UPDATED TO"
unzip -p $1 META-INF/MANIFEST.MF
```