{"id":20086569,"url":"https://github.com/asarkar/fp-scala","last_synced_at":"2025-07-22T10:06:46.890Z","repository":{"id":67174990,"uuid":"50156898","full_name":"asarkar/fp-scala","owner":"asarkar","description":"Functional Programming in Scala","archived":false,"fork":false,"pushed_at":"2024-01-03T14:33:04.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-02T14:30:15.974Z","etag":null,"topics":["functional-programming","functional-programming-in-scala","red-book","scala"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/asarkar.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},"funding":{"github":"asarkar"}},"created_at":"2016-01-22T04:09:19.000Z","updated_at":"2024-02-06T15:10:39.000Z","dependencies_parsed_at":"2023-12-21T18:28:51.385Z","dependency_job_id":"922ab79e-1817-4ad9-8b0e-24e32803b3ca","html_url":"https://github.com/asarkar/fp-scala","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/asarkar/fp-scala","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asarkar%2Ffp-scala","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asarkar%2Ffp-scala/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asarkar%2Ffp-scala/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asarkar%2Ffp-scala/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asarkar","download_url":"https://codeload.github.com/asarkar/fp-scala/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asarkar%2Ffp-scala/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266473036,"owners_count":23934475,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["functional-programming","functional-programming-in-scala","red-book","scala"],"created_at":"2024-11-13T16:01:35.611Z","updated_at":"2025-07-22T10:06:46.833Z","avatar_url":"https://github.com/asarkar.png","language":"Scala","funding_links":["https://github.com/sponsors/asarkar"],"categories":[],"sub_categories":[],"readme":"My solutions to the exercises from the book [Functional Programming in Scala](https://www.manning.com/books/functional-programming-in-scala-second-edition), 2nd edition.\n\n[![](https://github.com/asarkar/fp-scala/workflows/CI/badge.svg)](https://github.com/asarkar/fp-scala/actions)\n\nOfficial GitHub repo: https://github.com/fpinscala/fpinscala\n\n## Syllabus\n\n### Part 1: Introduction to functional programming\n\n1. What is functional programming?\n\n2. Getting started with functional programming in Scala\n\n3. Functional data structures\n\n4. Handling errors without exception\n\n5. Strictness and laziness\n\n6. Purely functional state\n\n### Part 3: Common structures in functional design\n\n10. Monoids\n\n11. Monads\n\n12. Applicative and traversable functors\n\n## Executing a main method\n```\n./millw \u003cmodule\u003e.runMain --mainClass \u003cfully-qualified main class\u003e\n```\n\n## Executing tests\n```\n./.github/run.sh \u003cchapter\u003e\n```\n\n## VSCode\n\n* Open command palette: `Ctrl + Shift + P`\n\n* Open another window: `File \u003e New Window \u003e Open Recent/Open Folder`\n\n* To disable preview mode (don't replace current tab):\n  \n    * From command palette: `Preferences: Open User Settings`\n\n    * Add `\"workbench.editor.enablePreview\": false` to `settings.json` and save it.\n\n* To see the methods in a file: `Cmd + Shift + P`\n\n* To search a file by name: `Cmd + P`\n\n## Mill\n\nInstall a BSP connection file:\n```\nmill mill.bsp.BSP/install\n```\n\nThen open VSCode command palette, and select `Metals: Switch build server`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasarkar%2Ffp-scala","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasarkar%2Ffp-scala","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasarkar%2Ffp-scala/lists"}