{"id":23651447,"url":"https://github.com/athanclark/n-tuple","last_synced_at":"2025-10-26T13:16:03.427Z","repository":{"id":56847813,"uuid":"93572594","full_name":"athanclark/n-tuple","owner":"athanclark","description":"A homogeneous arbitrary-size tuple","archived":false,"fork":false,"pushed_at":"2023-09-26T18:44:52.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T16:44:07.297Z","etag":null,"topics":["haskell","n-tuple","tuples"],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/athanclark.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":"2017-06-06T23:44:22.000Z","updated_at":"2023-09-26T18:44:46.000Z","dependencies_parsed_at":"2022-09-09T06:23:34.431Z","dependency_job_id":null,"html_url":"https://github.com/athanclark/n-tuple","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2Fn-tuple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2Fn-tuple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2Fn-tuple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2Fn-tuple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/athanclark","download_url":"https://codeload.github.com/athanclark/n-tuple/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239609585,"owners_count":19667968,"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":["haskell","n-tuple","tuples"],"created_at":"2024-12-28T16:37:45.564Z","updated_at":"2025-10-26T13:15:58.383Z","avatar_url":"https://github.com/athanclark.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# n-tuple\n\nThis is a silly implementation of \"homogeneous n-length tuples\" -- basically\nan array. Internally, it builds a `Vector`, and projections just pull that index.\n\n```haskell\n{-# LANGUAGE DataKinds -#}\n\nimport Data.NTuple\n\n\nfoo :: NTuple 3 String\nfoo\n  = incl _3 \"three\"\n  . incl _2 \"two\"\n  . incl _1 \"one\"\n  $ empty\n\n\none :: String\none = proj _1 foo\n\ntwo :: String\ntwo = proj _2 foo\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fathanclark%2Fn-tuple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fathanclark%2Fn-tuple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fathanclark%2Fn-tuple/lists"}