Non-local goto and backtracking in Scala
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/scala/bk
.gitignore
LICENSE
README.md
build.sbt

README.md

BK Library

Non-local goto and backtracking in Scala

Author: Gidon Ernst gidonernst@gmail.com

Feedback is welcome! I'd appreciate to hear whether anyone found this library useful.

Installation

sbt compile
sbt package
sbt publishLocal # if you want to use it in other projects locally

Usage

import bk._

def first = backtrack()
def second = ...

def result = { first } or { second }