{"id":16337007,"url":"https://github.com/justinwoo/purescript-dango","last_synced_at":"2026-01-25T19:09:08.885Z","repository":{"id":149405708,"uuid":"134757151","full_name":"justinwoo/purescript-dango","owner":"justinwoo","description":"A fun library for sized lists in PureScript 0.12 using Symbols","archived":false,"fork":false,"pushed_at":"2018-05-24T19:01:13.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-16T15:50:25.629Z","etag":null,"topics":["purescript","sized","type-level"],"latest_commit_sha":null,"homepage":"","language":"PureScript","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/justinwoo.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":"2018-05-24T18:59:16.000Z","updated_at":"2018-05-24T19:01:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"434d1058-bea1-40c5-be01-a48646cb6c98","html_url":"https://github.com/justinwoo/purescript-dango","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/justinwoo/purescript-dango","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-dango","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-dango/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-dango/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-dango/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justinwoo","download_url":"https://codeload.github.com/justinwoo/purescript-dango/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-dango/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28757348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T16:32:25.380Z","status":"ssl_error","status_checked_at":"2026-01-25T16:32:09.189Z","response_time":113,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["purescript","sized","type-level"],"created_at":"2024-10-10T23:45:35.407Z","updated_at":"2026-01-25T19:09:08.850Z","avatar_url":"https://github.com/justinwoo.png","language":"PureScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PureScript-Dango\n\nA fun library for sized lists in PureScript 0.12 using Symbols\n\n![](https://i.imgur.com/zAAgsSN.jpg)\n\n## Usage\n\n```hs\nmain :: Effect Unit\nmain = do\n  log \"Empty\"\n  let (empty :: D.SizedList \"\" Int) = D.empty\n  logShow empty\n\n  log \"Singleton\"\n  let\n    -- inferred:\n    -- (b :: SizedList \".\" Int)\n    singleton\n      = D.singleton 1\n  logShow singleton\n\n  log \"toList of singleton\"\n  let list = D.toList singleton\n  logShow list\n\n  log \"toList of singleton\"\n  let nonEmptyList = D.toList singleton\n  logShow nonEmptyList\n\n  log \"head of singleton\"\n  let head = D.head singleton\n  logShow head\n\n  -- correct compile error:\n  -- let head' = D.head empty\n\n  log \"tail of singleton\"\n  let\n    -- inferred\n    -- (tail :: SizedList \"\" Int)\n    tail\n      = D.tail singleton\n  logShow tail\n\n  -- correct compile error:\n  -- let tail' = D.tail empty\n\n  log \"append two singletons\"\n  let\n    -- inferred\n    -- (append :: SizedList \"..\" Int)\n    append\n      = D.append singleton singleton\n  logShow append\n\n  log \"Finished\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinwoo%2Fpurescript-dango","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustinwoo%2Fpurescript-dango","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinwoo%2Fpurescript-dango/lists"}