Skip to content

Commit 965bfc6

Browse files
committed
Update references to quasiquotes guide
1 parent 470a512 commit 965bfc6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/reflect/scala/reflect/api/Liftables.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ trait Liftables { self: Universe =>
66

77
/** A type class that defines a representation of `T` as a `Tree`.
88
*
9-
* @see [[http://docs.scala-lang.org/overviews/macros/quasiquotes.html#lifting]]
9+
* @see [[http://docs.scala-lang.org/overviews/quasiquotes/lifting.html]]
1010
*/
1111
trait Liftable[T] {
1212
def apply(value: T): Tree
@@ -32,15 +32,15 @@ trait Liftables { self: Universe =>
3232
* lifted: universe.Tree = O
3333
* }}}
3434
*
35-
* @see [[http://docs.scala-lang.org/overviews/macros/quasiquotes.html#lifting]]
35+
* @see [[http://docs.scala-lang.org/overviews/quasiquotes/lifting.html]]
3636
*/
3737
def apply[T](f: T => Tree): Liftable[T] =
3838
new Liftable[T] { def apply(value: T): Tree = f(value) }
3939
}
4040

4141
/** A type class that defines a way to extract instance of `T` from a `Tree`.
4242
*
43-
* @see [[http://docs.scala-lang.org/overviews/macros/quasiquotes.html#unlifting]]
43+
* @see [[http://docs.scala-lang.org/overviews/quasiquotes/unlifting.html]]
4444
*/
4545
trait Unliftable[T] {
4646
def unapply(tree: Tree): Option[T]
@@ -66,7 +66,7 @@ trait Liftables { self: Universe =>
6666
* scala> val q"${_: O.type}" = q"$Oref"
6767
* }}}
6868
*
69-
* @see [[http://docs.scala-lang.org/overviews/macros/quasiquotes.html#unlifting]]
69+
* @see [[http://docs.scala-lang.org/overviews/quasiquotes/unlifting.html]]
7070
*/
7171
def apply[T](pf: PartialFunction[Tree, T]): Unliftable[T] = new Unliftable[T] {
7272
def unapply(value: Tree): Option[T] = pf.lift(value)

src/reflect/scala/reflect/api/Quasiquotes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ trait Quasiquotes { self: Universe =>
77
* that are also known as quasiquotes. With their help you can easily manipulate
88
* Scala reflection ASTs.
99
*
10-
* @see [[http://docs.scala-lang.org/overviews/macros/quasiquotes.html]]
10+
* @see [[http://docs.scala-lang.org/overviews/quasiquotes/intro.html]]
1111
*/
1212
implicit class Quasiquote(ctx: StringContext) {
1313
protected trait api {

0 commit comments

Comments
 (0)