Sean McLaughlin
Sean McLaughlin
Consider ``` @tailrec private def f(x: Widget, token: Option[String] = None): Boolean = { if (foo) true else Option(x.getNextToken) match { case None => false case Some(tok) => f(x, Some(tok))...
``` sealed trait HttpStatusCode { val intValue: Int } object HttpStatusCode { private type T = HttpStatusCode case object BadRequest extends T { val intValue = 400 } case object...
With precompiled libraries java_* rules put the library on java.library.path. scala_* rules currently do not.
https://github.com/seanmcl/scala-bazel-bug-linker demonstrates a bug that shows java.library.path is not set correctly. I haven't found a workaround for this. No combination of DYLD_LIBRARY_PATH, --test_env, --action_env, --jvmargs lets me set the path,...
I'd like to schedule a job every weekday, every 5 minutes between 9AM and 5PM. I can't figure out how to do this in a single line in the 8601...
I've got around 2000 lines (in 8 different files) of library code built up. The compile times are becoming significant, around 120 seconds on a new MacBook Pro. Does anyone...
Currently `DependsOn` is spottily implemented in resources. Since `DependsOn` should be possible for all resources, I propose making it part of the `Resource` signature and dropping all occurrences in the...
Is there any hope this library will make it to maven central any time soon? All of our other dependencies are available there. I'm getting pushback trying to import this...
Imagine we are modeling a toy version of the Java standard library: ``` trait {:extern} Object { function method {:extern} toString(): string } class {:extern} Integer extends Object { //...
In the following, I think `C.x` is a perfectly fine implementation of `T.x`. ``` trait T { ghost const x: int } class C extends T { const x :=...