Skip to content
#

monads

Here are 221 public repositories matching this topic...

arrow
abdheshkumar
abdheshkumar commented Mar 27, 2018
trait CassandraAsyncContext{
  trait Quoted[T]{
    def query: String
  }
}
trait Context {
  val context: CassandraAsyncContext
}

@free trait CassandraAlgebra extends Context {
  def runSingle[T(q: context.Quoted[T]): FS[List[T]]
}

after macro generation, trait Context got removed.

In this article I try to explain why Haskell keeps being such an important language by presenting some of its most important and distinguishing features and detailing them with working code examples. The presentation aims to be self-contained and does not require any previous knowledge of the language.

  • Updated Apr 30, 2020
  • Haskell
mu-scala

Improve this page

Add a description, image, and links to the monads topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the monads topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.