Skip to content

Commit

Permalink
little issues: update urls; Function0 is a thing that exists
Browse files Browse the repository at this point in the history
  • Loading branch information
lahosken committed Feb 21, 2014
1 parent 7993d16 commit 0ba5646
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ For development, you'll also need to install [RedCloth](http://redcloth.org/).

Then `make serve` will launch `jekyll` in serving mode: a web server will be launched on port 4000, and changing files will automatically rebuild the site.

To publish to http://twitter.github.com/scala_school :
To publish to http://twitter.github.io/scala_school :

$ make publish
2 changes: 1 addition & 1 deletion web/basics2.textile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ scala> addOne(1)
res2: Int = 2
</pre>

There is Function1 through 22. Why 22? It's an arbitrary magic number. I've never needed a function with more than 22 arguments so it seems to work out.
There is Function0 through 22. Why 22? It's an arbitrary magic number. I've never needed a function with more than 22 arguments so it seems to work out.

The syntactic sugar of apply helps unify the duality of object and functional programming. You can pass classes around and use them as functions and functions are just instances of classes under the covers.

Expand Down
2 changes: 1 addition & 1 deletion web/sbt.textile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ h2. Why SBT?

h2. Getting Started

* Download the jar:http://code.google.com/p/simple-build-tool/downloads/list
* "Download the jar":http://www.scala-sbt.org/release/docs/Getting-Started/Setup.html
* Create an sbt shell script that calls the jar, e.g.

<pre>
Expand Down

0 comments on commit 0ba5646

Please sign in to comment.