Skip to content

Instantly share code, notes, and snippets.


Seth Tisue SethTisue

View GitHub Profile
SethTisue /
Last active Aug 29, 2015
Scalawags #16: The Curse of the Excluded Middle

Scalawags #16: The Curse of the Excluded Middle

Daniel is AWOL. Seth is un-, er, no, self-employed — yeah, that's it.

The topic today: Erik Meijer’s “The Curse of the Excluded Middle”, published April 26 in ACM Queue. You can read it here:

Questions posed:

  • Who is this Erik Meijer fellow anyway?
  • What is the excluded middle?
View gist:0a8cf256f9bcfc109755
def parseProgram(s: String): Either[String, Program] = {
// use Stream so we don't keep parsing past the first error
val allLines: Stream[Either[String, Line]] =
sequence(allLines){goodLines =>

Scalawags #19: Five Years of Akka w/ Legendary Viktor Klang

Scalawags, not the podcast you come to for facts

Scalawags, the podcast that brings the Internet to its knees with double-digit live-viewing numbers!

with special guest Viktor Klang, man of Akka


SethTisue /
Last active Aug 29, 2015
Scalawags #21 show notes

Scalawags #21

Take special note of the masterfully smooth topic segues throughout.

YouTube link:

intro (0:00)

  • Daniel is crushed by a giant cat
  • Seth dusts off his radio announcer voice
View wolf-sheep.html
<script>useGoogleGraph = false</script>
Uncomment if you'd like to use google graphs!
<script src="" charset="utf-8"></script>
<script type="text/javascript" src=""></script>
<script>useGoogleGraph = true</script>
SethTisue /
Last active Aug 29, 2015
Scalawags #22: Heather Miller in a Pickle
View parse.scala
type ParseState = Int
type ParseResult[A] = (A, ParseState)
type Parser[A] = ParseState => ParseResult[A]
def map[A, B](p: Parser[A])(fn: A => B): Parser[B] =
p(_) match {
case (a, n) => (fn(a), n)
def flatMap[A, B](p: Parser[A])(fn: A => Parser[B]): Parser[B] =

Scalawags #23: Lifting Antonio Salazar Cardozo

YouTube link:

Intro (0:00)

  • theme music by Dick Wall, human beatbox (don't quit your day job, Dick)
  • welcome Heather Miller, now an official Scalawag
  • we're aiming to do episodes more often, with a rotating crew of whoever's available
You can’t perform that action at this time.