Skip to content

Commit

Permalink
Merge pull request scalaz#233 from xuwei-k/fix-scaladoc
Browse files Browse the repository at this point in the history
fix scaladoc
  • Loading branch information
larsrh committed Dec 26, 2012
2 parents ac24697 + e34f486 commit d8beb56
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion core/src/main/scala/scalaz/syntax/ApplicativeBuilder.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package scalaz
package syntax

/** @see [[scalaz.syntax.ApplyV]]`#|@|` */
/** @see [[scalaz.syntax.ApplyOps]]`#|@|` */
private[scalaz] trait ApplicativeBuilder[M[_], A, B] {
val a: M[A]
val b: M[B]
Expand Down
10 changes: 5 additions & 5 deletions core/src/main/scala/scalaz/syntax/std/OptionOps.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ trait OptionOps[A] extends Ops[Option[A]] {
* Returns the provided function `s` applied to item contained in the Option if it is defined,
* otherwise, the provided value `n`.
* <p/>
* This is a syntactic alternative to { @link scalaz.OptionW # cata }
* This is a syntactic alternative to [[scalaz.syntax.std.OptionOps#cata]]
* <p/>
* Example:
* <code>
* {{{
* o.some(_ * 2).none(0)
* </code>
* }}}
*/
final def some[X](s: A => X): Fold[X] = new Fold[X] {
def none(n: => X): X = cata(s, n)
Expand All @@ -36,9 +36,9 @@ trait OptionOps[A] extends Ops[Option[A]] {
* Ternary operator. Note that the arguments s and n are call-by-name.
* <p/>
* Example
* <code>
* {{{
* option ? "defined" | "undefined"
* </code>
* }}}
*/
final def ?[X](s: => X): Conditional[X] = new Conditional[X] {
def |(n: => X): X = self match {
Expand Down
6 changes: 3 additions & 3 deletions typelevel/src/main/scala/scalaz/typelevel/KTypeClass.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import syntax.typelevel.hlist._
*
* Multiplication of instances is done via wrappers which are unpacked
* automatically if the implicits of
* [[scalaz.typelevel.syntax.TypeClasses]] are imported.
* [[scalaz.syntax.typelevel.TypeClasses]] are imported.
*
* @see [[scalaz.typelevel.syntax.TypeClasses]]
* @see [[scalaz.syntax.typelevel.TypeClasses]]
* @see [[scalaz.typelevel.TCList]]
*/
trait KTypeClass[C[_[_]]] {
Expand Down Expand Up @@ -66,7 +66,7 @@ trait KTypeClass[C[_[_]]] {
/**
* The empty composition.
*
* @return an instance of [[scalaz.typelevel.TypeClass.WrappedComposition]]
* @return an instance of [[scalaz.typelevel.KTypeClass.WrappedComposition]]
* representing an empty composition
*/
final def idCompose = new WrappedComposition[C, TCNil](_idCompose, this)
Expand Down
2 changes: 1 addition & 1 deletion typelevel/src/main/scala/scalaz/typelevel/TypeClass.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import syntax.typelevel.hlist._
* A type class abstracting over the `product` operation of type classes over
* types of kind `*`.
*
* @see [[scalaz.typelevel.syntax.TypeClasses]]
* @see [[scalaz.syntax.typelevel.TypeClasses]]
*/
trait TypeClass[C[_]] {

Expand Down

0 comments on commit d8beb56

Please sign in to comment.