Skip to content

Instantly share code, notes, and snippets.

View shomah4a's full-sized avatar

shoma shomah4a

  • 01:20 (UTC +09:00)
View GitHub Profile
;;; ikazuchi-mode.el --- ikazuchi, translate using web APIs, minor mode.
;;;
;;; Currently can use only Google.
;;;
(provide 'ikazuchi-mode)
;; set path to ikazuchi if you have not set PATH.
(defvar ikazuchi-path "ikazuchi")
package net.shomah4a.utils.generator.continuation
import scala.util.continuations.{reset, shift, cpsParam}
object Generator
{
type GenParam[T] = (Option[T], Option[GeneratorSupport[T]])
type GenState[T] = cpsParam[GenParam[T], GenParam[T]]