Skip to content

Instantly share code, notes, and snippets.

View erikerlandson's full-sized avatar

Erik Erlandson erikerlandson

View GitHub Profile
@ruivieira
ruivieira / sand-detrouter.sh
Last active November 26, 2025 19:21
Script to check Shai-Hulud packages (LIST NOT COMPREHENSIVE)
#!/usr/bin/env bash
set -euo pipefail
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
CYAN='\033[0;36m'
NC='\033[0m'
package cats
package data
import scala.annotation.tailrec
sealed abstract class Continuation[O, +I] {
def map[I2](fn: I => I2): Continuation[O, I2] =
Continuation.Mapped(this, fn)
def flatMap[I2](fn: I => Continuation[O, I2]): Continuation[O, I2] =