{"id":16600162,"url":"https://github.com/syzer/euler-problem-24","last_synced_at":"2026-05-27T18:32:52.149Z","repository":{"id":147475357,"uuid":"94367175","full_name":"syzer/euler-problem-24","owner":"syzer","description":"haskell , one liner..","archived":false,"fork":false,"pushed_at":"2017-06-14T22:27:27.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-15T18:50:32.587Z","etag":null,"topics":["euler","haskell"],"latest_commit_sha":null,"homepage":null,"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/syzer.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":"2017-06-14T19:44:07.000Z","updated_at":"2017-06-14T20:08:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ffdb467-73de-4e97-abb8-dce78f1644e7","html_url":"https://github.com/syzer/euler-problem-24","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/syzer/euler-problem-24","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syzer%2Feuler-problem-24","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syzer%2Feuler-problem-24/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syzer%2Feuler-problem-24/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syzer%2Feuler-problem-24/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syzer","download_url":"https://codeload.github.com/syzer/euler-problem-24/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syzer%2Feuler-problem-24/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33579665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["euler","haskell"],"created_at":"2024-10-12T00:13:45.530Z","updated_at":"2026-05-27T18:32:52.132Z","avatar_url":"https://github.com/syzer.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# euler 24\n\nA permutation is an ordered arrangement of objects. For example, 3124 is one possible permutation of the digits 1, 2, 3 and 4. If all of the permutations are listed numerically or alphabetically, we call it lexicographic order. The lexicographic permutations of 0, 1 and 2 are:\n\n    012   021   102   120   201   210\n\nWhat is the millionth lexicographic permutation of the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9?\n\n# problem statement\n[https://projecteuler.net/problem=24]()\n\nhow\n\n:load euler24.hs \nIf you do not wanna compile\n```bash\nghci\n\u003e:load euler.24hs\n\u003e main\n[\"012\",\"021\",\"102\",\"120\",\"201\",\"210\"]\n```\n\n# tests\n```bash\ncabal update\ncabal install hspec\nrunhaskell euler24.spec.hs\n# euler24.firstTry\n#   returns the permutations\n#   returns the correct permutation\n# \n# Finished in 8.0976 seconds\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyzer%2Feuler-problem-24","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyzer%2Feuler-problem-24","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyzer%2Feuler-problem-24/lists"}