Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

* src/mori/zip.cljs: add mori/zip.cljs

  • Loading branch information...
commit 5c7705be3eaf67c23944782d9ffad7f26c28eb95 1 parent 9239254
David Nolen authored

Showing 1 changed file with 32 additions and 0 deletions. Show diff stats Hide diff stats

  1. +32 0 src/mori/zip.cljs
32 src/mori/zip.cljs
... ... @@ -0,0 +1,32 @@
  1 +(ns mori.zip
  2 + (:refer-clojure :exclude [replace next remove])
  3 + (:require [clojure.zip :as zip]))
  4 +
  5 +;; Zippers
  6 +(def ^:export zipper zip/zipper)
  7 +(def ^:export seq-zip zip/seq-zip)
  8 +(def ^:export vector-zip zip/vector-zip)
  9 +(def ^:export node zip/node)
  10 +(def ^:export is-branch zip/branch)
  11 +(def ^:export children zip/children)
  12 +(def ^:export make-node zip/make-node)
  13 +(def ^:export path zip/path)
  14 +(def ^:export lefts zip/lefts)
  15 +(def ^:export rights zip/rights)
  16 +(def ^:export down zip/down)
  17 +(def ^:export up zip/up)
  18 +(def ^:export root zip/root)
  19 +(def ^:export right zip/right)
  20 +(def ^:export rightmost zip/rightmost)
  21 +(def ^:export left zip/left)
  22 +(def ^:export leftmost zip/leftmost)
  23 +(def ^:export insert-left zip/insert-left)
  24 +(def ^:export insert-right zip/insert-right)
  25 +(def ^:export replace zip/replace)
  26 +(def ^:export edit zip/edit)
  27 +(def ^:export insert-child zip/insert-child)
  28 +(def ^:export append-child zip/append-child)
  29 +(def ^:export next zip/next)
  30 +(def ^:export prev zip/prev)
  31 +(def ^:export is-end zip/end?)
  32 +(def ^:export remove zip/remove)

0 comments on commit 5c7705b

Please sign in to comment.
Something went wrong with that request. Please try again.