Skip to content

Instantly share code, notes, and snippets.

@xuwei-k
Created February 4, 2012 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xuwei-k/1738913 to your computer and use it in GitHub Desktop.
Save xuwei-k/1738913 to your computer and use it in GitHub Desktop.
Scalaz 6.0.4 and GHC 7.4.1

Applicative

https://github.com/scalaz/scalaz/tree/v6.0.4/core/src/main/scala/scalaz/Applicative.scala https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/ApplicativeBuilder.scala

https://github.com/ghc/packages-base/blob/ghc-7.4.1-release/Control/Applicative.hs

Arrow

https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/Arrow.scala https://github.com/ghc/packages-base/blob/ghc-7.4.1-release/Control/Arrow.hs

Functor

https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/Functor.scala https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/Bifunctor.scala

https://github.com/ghc/packages-base/blob/ghc-7.4.1-release/Data/Functor.hs

Monad

https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/Monad.scala https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/Comonad.scala

https://github.com/ghc/packages-base/blob/ghc-7.4.1-release/Control/Monad.hs

Category

https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/Category.scala https://github.com/ghc/packages-base/blob/ghc-7.4.1-release/Control/Category.hs

Monoid

https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/Monoid.scala https://github.com/ghc/packages-base/blob/master/Data/Monoid.hs

Eq

https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/Equal.scala https://github.com/ghc/packages-base/blob/ghc-7.4.1-release/Data/Eq.hs

Either

https://github.com/scala/scala/blob/v2.9.1/src/library/scala/Either.scala https://github.com/ghc/packages-base/blob/ghc-7.4.1-release/Data/Either.hs

Foldable

https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/Foldable.scala https://github.com/ghc/packages-base/blob/ghc-7.4.1-release/Data/Foldable.hs

Ord

https://github.com/scala/scala/blob/v2.9.1/src/library/scala/math/Ordering.scala https://github.com/scala/scala/blob/v2.9.1/src/library/scala/math/Ordered.scala https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/Order.scala

https://github.com/ghc/packages-base/blob/ghc-7.4.1-release/Data/Ord.hs

Maybe

https://github.com/ghc/packages-base/blob/ghc-7.4.1-release/Data/Maybe.hs

https://github.com/scala/scala/blob/v2.9.1/src/library/scala/Option.scala https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/LazyOption.scala https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/OptionT.scala https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/OptionW.scala

First

https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/FirstLazyOption.scala https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/FirstOption.scala

https://github.com/ghc/packages-base/blob/ghc-7.4.1-release/Data/Monoid.hs#L236-250

Last

https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/LastOption.scala https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/LastLazyOption.scala https://github.com/ghc/packages-base/blob/ghc-7.4.1-release/Data/Monoid.hs#L252-266

List

https://github.com/scala/scala/blob/v2.9.1/src/library/scala/collection/immutable/List.scala https://github.com/scala/scala/blob/v2.9.1/src/library/scala/collection/immutable/Stream.scala https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/ListW.scala https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/ListT.scala https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/StreamT.scala https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/StreamW.scala

https://github.com/ghc/packages-base/blob/ghc-7.4.1-release/Data/List.hs

Kleisli

https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/Kleisli.scala https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/Cokleisli.scala

https://github.com/ghc/packages-base/blob/ghc-7.4.1-release/Control/Arrow.hs#L142

Show

https://github.com/scalaz/scalaz/blob/v6.0.4/core/src/main/scala/scalaz/Show.scala https://github.com/ghc/packages-base/blob/ghc-7.4.1-release/GHC/Show.lhs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment