Skip to content

Commit 28b4f6c

Browse files
authored
README updates (#123)
* remove no-longer-applicable Travis-CI badge * update Maven badge for Scala 2.13 * fix typos Pull request: #123
1 parent 119294a commit 28b4f6c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SourceCode [![Build Status](https://travis-ci.org/lihaoyi/sourcecode.svg?branch=master)](https://travis-ci.org/lihaoyi/sourcecode) [![Join the chat at https://gitter.im/lihaoyi/Ammonite](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/lihaoyi/sourcecode?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Maven Central](https://img.shields.io/maven-central/v/com.lihaoyi/sourcecode_2.11.svg)](https://maven-badges.herokuapp.com/maven-central/com.lihaoyi/sourcecode_2.11)
1+
SourceCode [![Join the chat at https://gitter.im/lihaoyi/Ammonite](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/lihaoyi/sourcecode?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Maven Central](https://img.shields.io/maven-central/v/com.lihaoyi/sourcecode_2.13.svg)](https://maven-badges.herokuapp.com/maven-central/com.lihaoyi/sourcecode_2.13)
22
==========
33

44
```scala
@@ -38,7 +38,7 @@ To this:
3838
By capturing source information you can use to give your objects and function
3939
meaningful names that tell you where they were defined, automatically without
4040
needing you to manually assign a string-ID to every anonymous function or
41-
anonymous class you define all over your code bas.
41+
anonymous class you define all over your code base.
4242

4343
If you like using Sourcecode, you might also enjoy this book by the author which
4444
teaches you Scala in a similarly simple and straightforward way:
@@ -79,7 +79,7 @@ The kinds of compilation-time data that `sourcecode` provides are:
7979
you have multiple statements in a `{}` block, `sourcecode.Text` will only
8080
capture the source code for the last expression that gets returned. This
8181
implicit is slightly experimental; be sure to report any bugs you find!
82-
- `sourcecode.Args`: the arguments that where provided to the nearest enclosing
82+
- `sourcecode.Args`: the arguments that were provided to the nearest enclosing
8383
method
8484
- `sourcecode.Name.Machine`, `sourcecode.FullName.Machine` and
8585
`sourcecode.Enclosing.Machine` which are similar to `sourcecode.Name`,
@@ -520,7 +520,7 @@ foo("baz", 42)(true) // foo(bar=baz, baz=42)(p=true)
520520
Embedding Domain-Specific Languages
521521
-----------------------------------
522522

523-
The Scala programming is a popular choice to embed domain-specific languages:
523+
Scala is a popular language in which to embed domain-specific languages:
524524
that means that you start with some external language, e.g. this
525525
[MathProg] example
526526

0 commit comments

Comments
 (0)