{"id":78970,"library":"hamster","title":"Hamster","description":"Hamster provides efficient, immutable, and thread-safe collection classes for Ruby.","status":"active","version":"3.0.0","language":"ruby","source_language":null,"source_url":"https://github.com/hamstergem/hamster","tags":["immutable","collections","thread-safe","data-structures"],"install":[{"cmd":"gem install hamster","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'hamster', '~> 3.0.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Hamster","correct":"require 'hamster'"}],"quickstart":{"code":"require 'hamster'\n\nlist = Hamster::List[1, 2, 3]\nnew_list = list.cons(0)\nputs new_list.to_a.inspect  # [0, 1, 2, 3]","lang":"ruby","description":"Create an immutable list and prepend an element."},"warnings":[],"env_vars":null,"search_vec":"'class':11 'collect':10,15 'data':20 'data-structur':19 'effici':4 'hamster':1,2 'immut':5,14 'provid':3 'rubi':13 'safe':9,18 'structur':21 'thread':8,17 'thread-saf':7,16","created_at":"2026-06-18T04:36:42.123337+00:00","updated_at":"2026-06-18T04:36:42.123337+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/hamstergem/hamster","github":"https://github.com/hamstergem/hamster","docs":"http://www.rubydoc.info/gems/hamster/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}