{"id":13837509,"url":"https://github.com/cblp/funlangs","last_synced_at":"2025-04-19T23:54:38.390Z","repository":{"id":61658282,"uuid":"161316016","full_name":"cblp/funlangs","owner":"cblp","description":"Functional languages index","archived":false,"fork":false,"pushed_at":"2019-09-23T09:05:04.000Z","size":46,"stargazers_count":41,"open_issues_count":8,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-19T23:54:34.562Z","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/cblp.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}},"created_at":"2018-12-11T10:20:20.000Z","updated_at":"2025-04-06T10:12:12.000Z","dependencies_parsed_at":"2022-10-19T23:45:28.677Z","dependency_job_id":null,"html_url":"https://github.com/cblp/funlangs","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/cblp%2Ffunlangs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cblp%2Ffunlangs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cblp%2Ffunlangs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cblp%2Ffunlangs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cblp","download_url":"https://codeload.github.com/cblp/funlangs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249830852,"owners_count":21331357,"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-08-04T15:01:12.141Z","updated_at":"2025-04-19T23:54:38.364Z","avatar_url":"https://github.com/cblp.png","language":"Haskell","readme":"\u003c!-- DO NOT EDIT THIS FILE --\u003e\n\u003c!-- edit funlangs.hs instead --\u003e\n\n# Functional languages\n\nThere is no such thing as a functional language.\n\n[You can](https://lispcast.com/fp-in-my-language) write functionally\nin any language.\n\nAlso, different languages have different functional features.\n\n## Functional features\n\n| Feature | C | C++ | Haskell | Idris | Java | OCaml | Python | Rust | Scala |\n|---|---|---|---|---|---|---|---|---|---|\n| Closures | :x: | :warning: | :heavy_check_mark: | :heavy_check_mark: |  | :heavy_check_mark: | :heavy_check_mark: | :warning: | :heavy_check_mark: |\n| Downwards Funarg Problem | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |\n| Functions | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |\n| Guaranteed Tail Call Optimization |  |  | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: |  |  | :warning: |\n| Lambda Abstraction Syntax | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :warning: | :heavy_check_mark: | :heavy_check_mark: |\n| Pure Functions | :x: | :warning: | :heavy_check_mark: | :heavy_check_mark: | :x: | :x: | :x: | :x: | :x: |\n| Upwards Funarg Problem | :x: | :warning: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |\n\n## Supporting features\n\n| Feature | C | C++ | Haskell | Idris | Java | OCaml | Python | Rust | Scala |\n|---|---|---|---|---|---|---|---|---|---|\n| Ad Hoc Polymorphism | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |  | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |\n| Algebraic Data Types | :x: | :x: | :heavy_check_mark: | :heavy_check_mark: |  | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: |\n| Dependent Types | :x: | :x: | :x: | :heavy_check_mark: |  | :x: | :x: | :x: | :x: |\n| Forces Immutability | :x: | :x: | :heavy_check_mark: | :heavy_check_mark: |  | :heavy_check_mark: | :x: | :heavy_check_mark: | :warning: |\n| Immutable Data | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |  | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |\n| Laziness By Default | :x: | :x: | :heavy_check_mark: | :x: |  | :x: | :x: | :x: | :x: |\n| Parametric Modules | :x: | :x: | :warning: | :heavy_check_mark: |  | :heavy_check_mark: | :x: | :x: | :heavy_check_mark: |\n| Parametric Polymorphism |  | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |\n| Pattern Matching |  | :warning: | :heavy_check_mark: | :heavy_check_mark: |  | :heavy_check_mark: | :warning: | :warning: | :heavy_check_mark: |\n| Pattern Matching Alternatives |  |  | :heavy_check_mark: | :heavy_check_mark: |  | :heavy_check_mark: |  | :heavy_check_mark: | :heavy_check_mark: |\n| Pattern Matching Variable Introduction |  |  | :heavy_check_mark: | :heavy_check_mark: |  |  | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |\n| Polymorphic Recursion | :x: | :x: | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: | :warning: |  | :heavy_check_mark: |\n| Referential Transparency |  |  | :heavy_check_mark: | :heavy_check_mark: |  |  |  |  | :x: |\n| Row Polymorphism | :x: | :x: | :warning: |  | :x: | :heavy_check_mark: | :x: |  |  |\n| Static Typing | :warning: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: |\n| Totality Checking | :x: | :x: | :x: | :heavy_check_mark: |  | :x: | :x: | :x: | :x: |\n| Uniqueness Types | :x: | :x: | :x: | :heavy_check_mark: |  | :x: | :x: | :heavy_check_mark: | :x: |\n| Universe Polymorphism | :x: | :x: | :x: | :heavy_check_mark: |  | :x: | :x: | :x: | :x: |\n\n## Scores\n\nA well implemented feature counts as 1,\na hard-to-use one counts as 0.5.\nSupporting featurues count twice less.\n\n| Language | Score |\n|----------|-------|\n| Idris | 15.0 |\n| Haskell | 13.5 |\n| OCaml | 11.5 |\n| Scala | 10.75 |\n| Rust | 9.25 |\n| Python | 7.0 |\n| C++ | 6.75 |\n| Java | 5.0 |\n| C | 2.25 |\n\n","funding_links":[],"categories":["Haskell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcblp%2Ffunlangs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcblp%2Ffunlangs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcblp%2Ffunlangs/lists"}