{"id":23010802,"url":"https://github.com/kdungs/cpp-list","last_synced_at":"2025-04-02T16:45:27.480Z","repository":{"id":27394404,"uuid":"30870688","full_name":"kdungs/cpp-list","owner":"kdungs","description":"CoW functional list in C++11.","archived":false,"fork":false,"pushed_at":"2016-01-13T13:59:47.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T07:25:55.474Z","etag":null,"topics":["experiment"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Kivy-CN/Duke-STA-663-CN","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kdungs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-16T14:03:09.000Z","updated_at":"2020-10-03T09:40:44.000Z","dependencies_parsed_at":"2022-08-20T07:50:11.713Z","dependency_job_id":null,"html_url":"https://github.com/kdungs/cpp-list","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/kdungs%2Fcpp-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdungs%2Fcpp-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdungs%2Fcpp-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdungs%2Fcpp-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kdungs","download_url":"https://codeload.github.com/kdungs/cpp-list/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246853656,"owners_count":20844621,"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":["experiment"],"created_at":"2024-12-15T09:42:17.500Z","updated_at":"2025-04-02T16:45:27.392Z","avatar_url":"https://github.com/kdungs.png","language":"C++","readme":"# cpp-list\nCoW functional list in C++11.\n\n## Functionality\nFunctionality loosely follows all the nice stuff you find in Haskell ([Prelude](http://hackage.haskell.org/package/base-4.7.0.2/docs/Prelude.html)). Here's a list of functions that have been implemented so far. If the name is different in Haskell, it is given in italic.\n\n * Constructing lists\n  * `cons` _(:)_\n  * `makeList` _[...]_\n  * `append` _does not exist in Haskell in this form..._\n * List operations\n  * `map`\n  * `join` _(++)_\n  * `filter`\n  * `head`\n  * `last`\n  * `tail`\n  * `init`\n  * `null`\n  * `length`\n  * `at` _(!!)_\n  * `reverse` (implemented in terms of `foldl` therefore found at the end of the code)\n * Reducing lists (folds)\n  * `foldl`\n  * `foldl1`\n  * `foldr`\n  * `foldr1`\n * Special folds\n  * `concat`\n  * `concatMap`\n * Zipping and unzipping lists\n  * `zip`\n  * `zip3`\n  * `zipWith`\n  * `zipWith3`\n  * `unzip`\n  * `unzip3`\n * Other\n  * `apply` _does not exist in Haskell..._\n\n## To Do\n\n * Implement more functionality\n * Write actual (unit) tests\n * More documentation\n * Performance?!\n\n\n## Contact\nIf you have any questions or suggestions feel free to write an issue report. You can also send me an email to kevin at my domain.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdungs%2Fcpp-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkdungs%2Fcpp-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdungs%2Fcpp-list/lists"}