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.
- Host: GitHub
- URL: https://github.com/tpolecat/examples
- Owner: tpolecat
- Created: 2013-02-12T23:03:37.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2016-09-13T12:42:07.000Z (almost 10 years ago)
- Last Synced: 2025-03-11T11:09:35.666Z (over 1 year ago)
- Language: Scala
- Size: 165 KB
- Stars: 83
- Watchers: 17
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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
```