I hereby claim:
- I am lewisjkl on github.
- I am lewisjkl (https://keybase.io/lewisjkl) on keybase.
- I have a public key ASCxJrHu6SWEQagKP3tlJOCp2-WCU6cdu7_17zakPTPqVgo
To claim this, I am signing this object:
package preprocessors | |
import software.amazon.smithy.build._ | |
import software.amazon.smithy.model._ | |
import software.amazon.smithy.model.shapes._ | |
import software.amazon.smithy.model.traits._ | |
import scala.collection.JavaConverters._ | |
final class SplitUp extends ProjectionTransformer { |
// Note - these examples are not meant to show how the `Option` type is actually implemented | |
// Scala 2.13.x | |
sealed abstract class Option[+A] | |
case class Some[A](x: A) extends Option[A] | |
case object None extends Option[Nothing] | |
Some("test") | |
// has type Some[String] |
val printStuff: Future[Unit] = Future(println("Hello, World!")) | |
for { | |
_ <- printStuff | |
_ <- printStuff | |
} yield () | |
// prints "Hello, World!" once | |
for { |
let url = args.urls[0] | |
if (!url) { | |
let alert = new Alert() | |
alert.message = "Please provide a gist url as input!" | |
alert.present() | |
} else { | |
let paths = url.split("/") | |
let gistId = paths[paths.length - 1] | |
let carbonUrl = "https://carbon.now.sh/" + gistId |
I hereby claim:
To claim this, I am signing this object:
// This is free and unencumbered software released into the public domain. | |
// Anyone is free to copy, modify, publish, use, compile, sell, or | |
// distribute this software, either in source code form or as a compiled | |
// binary, for any purpose, commercial or non-commercial, and by any | |
// means. | |
// In jurisdictions that recognize copyright laws, the author or authors | |
// of this software dedicate any and all copyright interest in the | |
// software to the public domain. We make this dedication for the benefit |