experimenting with clojure and ruby
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
README.md
colby.gemspec

README.md

Colby

A small wrapper and functions to make working with persistent, immutable data structures easy.

  • This project depends on Hamster
  • Mori is a source of ideas for this library

Testing

  • rspec .

Installation

gem install colby

or

gem build ./colby.gemspec gem install --local ./colby-x.x.x.gem

Usage

require 'colby'

include Colby::Core

# Now you can build hash_map, vec, list, or set

# Also, you have clojure-like functions such as assoc, get, conj, has_key

# check the spec to see examples