Liking cljdoc? Tell your friends :D

Build Status

About

Walkr (walk-reduce) is a Clojure library built to help you easily walk-reduce clojure data structures.

Usage

Here's a simple example.

(ns user
  (:require [walkr.core :as w]
            [clojure.string :as str]))

(w/prewalk-reduce
  (fn [acc item]
    (if (string? item)
      [(conj item acc) (str/upper-case item)]
      [acc item]))
  #{}
  [{:foo {:bar {:value "cold"}
          :other "hot"}}
   {:foo {:bar {:value "colder"}
          :other "hotter"}}])
;;; => returns `#{"HOTTER" "COLDER" "HOT" "COLD"}`

See the existing tests for more examples.

Building

walkr is built, tested, and deployed using Clojure Tools Deps.

GNU Make is used to simplify invocation of some commands.

Availability

k13labs/walkr releases for this project are on Clojars. Simply add the following to your project:

Clojars Project

Communication

  • For any other questions or issues about walkr free to browse or open a Github Issue.

Contributing

See CONTRIBUTING.md

YourKit

YourKit

YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler, and YourKit YouMonitor.

LICENSE

Copyright 2025 Jose Gomez

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Can you improve this documentation?Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close