{"id":20091407,"url":"https://github.com/tejasbubane/functional-data-structures","last_synced_at":"2026-05-10T08:53:21.291Z","repository":{"id":145488425,"uuid":"170532397","full_name":"tejasbubane/functional-data-structures","owner":"tejasbubane","description":"Okasaki's data structures implemented in a course structure","archived":false,"fork":false,"pushed_at":"2019-02-24T10:52:12.000Z","size":38,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T03:09:34.638Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tejasbubane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-13T15:36:24.000Z","updated_at":"2020-02-19T03:07:55.000Z","dependencies_parsed_at":"2023-04-05T02:49:10.871Z","dependency_job_id":null,"html_url":"https://github.com/tejasbubane/functional-data-structures","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejasbubane%2Ffunctional-data-structures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejasbubane%2Ffunctional-data-structures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejasbubane%2Ffunctional-data-structures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejasbubane%2Ffunctional-data-structures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tejasbubane","download_url":"https://codeload.github.com/tejasbubane/functional-data-structures/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241533637,"owners_count":19977824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T16:31:59.381Z","updated_at":"2026-05-10T08:53:21.210Z","avatar_url":"https://github.com/tejasbubane.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Okasaki's Functional Data Structures in Haskell\n\n[![Build Status](https://travis-ci.org/tejasbubane/functional-data-structures.svg?branch=solutions)](https://travis-ci.org/tejasbubane/functional-data-structures)\n\nData structures from [Okasaki's book](https://www.goodreads.com/book/show/594288.Purely_Functional_Data_Structures) in Haskell along with tests - so that you can implement and check your solutions.\n\n### List of data structures:\n\n* [List](src/List.hs)\n* [BinarySearchTree](src/BinarySearchTree.hs)\n* [LeftistHeap](src/LeftistHeap.hs)\n* [BinomialHeap](src/BinomialHeap.hs)\n* [RedBlackTree](src/RedBlackTree.hs)\n* [Queue](src/Queue.hs)\n* [AmortizedQueue](src/AmortizedQueue.hs)\n* [Deque](src/Deque.hs)\n* [Trie](src/Trie.hs)\n\n\nImplementations can be found in `solutions` branch.\n\n**Note:** This repo does not contain all of the structures from the book. These are the one which I mostly understood in first reading of the book and which were discussed in my talk at [Bangalore functional programming meetup](https://www.meetup.com/Bangalore-Functional-Programmers-Meetup/events/257190891/).\n\n### Tests:\n\nTests are in `spec` directory.\n\nRun individual tests:\n\n```hs\nstack test --test-arguments \"-m \"List\"\"\n```\n\nRun all tests:\n\n```hs\nstack test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftejasbubane%2Ffunctional-data-structures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftejasbubane%2Ffunctional-data-structures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftejasbubane%2Ffunctional-data-structures/lists"}