{"id":24175831,"url":"https://github.com/iht/fpinscala","last_synced_at":"2025-09-20T20:31:19.744Z","repository":{"id":21296417,"uuid":"24612613","full_name":"iht/fpinscala","owner":"iht","description":"Solution to the exercises of Functional Programming in Scala, from Mannig Publications","archived":false,"fork":false,"pushed_at":"2019-10-24T18:27:28.000Z","size":275,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-18T00:13:54.472Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iht.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":"2014-09-29T20:54:04.000Z","updated_at":"2020-04-30T02:52:30.000Z","dependencies_parsed_at":"2022-08-20T16:40:39.869Z","dependency_job_id":null,"html_url":"https://github.com/iht/fpinscala","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/iht%2Ffpinscala","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iht%2Ffpinscala/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iht%2Ffpinscala/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iht%2Ffpinscala/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iht","download_url":"https://codeload.github.com/iht/fpinscala/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233684402,"owners_count":18713885,"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":"2025-01-13T02:33:12.751Z","updated_at":"2025-09-20T20:31:14.478Z","avatar_url":"https://github.com/iht.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build status](https://travis-ci.org/iht/fpinscala.svg?branch=master)](https://travis-ci.org/iht/fpinscala)\n[![Coverage Status](https://coveralls.io/repos/github/iht/fpinscala/badge.svg?branch=master)](https://coveralls.io/github/iht/fpinscala?branch=master)\n\n# Functional Programming in Scala\n\nThis repository hosts my solutions to the exercises of the book\n[Functional Programming in Scala, from Manning Publications](http://www.manning.com/bjarnason/).\n\nThe list of exercises and the official solutions can be found at https://github.com/fpinscala/fpinscala\n\n## Status\n\n* [Completion status of the exercises](https://github.com/iht/fpinscala/blob/master/doc/status.md)\n\nYou can find the examples at\n[`src/main/scala`](https://github.com/iht/fpinscala/tree/master/src/main/scala/),\nwith a directory (Scala package) for each book chapter.\n\n## Tests\n\nFor each one of the exercises, I provide a test. Tests are\nstored in the directory [`src/test/scala`](https://github.com/iht/fpinscala/tree/master/src/test/scala/), and you can reuse them for\nyour exercises.\n\nYou will need [sbt](http://www.scala-sbt.org/) to run the tests and compile the exercises.\n\nTo compile the exercises before running the tests, simply run\n\n```\n\u003e compile\n```\n\nIf it's the first time, it will download all the necessary dependencies (basically, the [Scala Specs2 library](http://etorreborre.github.io/specs2/)).\n\nTo run all the tests, simply execute the following in sbt\n```\n\u003e test\n```\n\nTo run a specific test, execute\n```\n\u003e testOnly chapXX.ExYYSpec\n```\nwhere `XX` is the chapter number, and `YY` is the exercise number. For\ninstance\n```\n\u003e testOnly chap03.Ex10Spec\n```\n\n## How to run (some of) the exercises\n\nSome of the exercises can also be run as standalone applications.\n\nTo run the exercises in sbt, use\n```\n\u003e  runMain package_name.object_name args\n```\n\nFor instance\n```\n\u003e runMain chap2.Ex02 5\n```\n\nNot all exercises can be run as applications. To check the output for\nsome input values of all the exercises, you can add cases to the tests.\n\n\n## License\n\nAll the code hosted in this repository is distributed under the MIT\nlicense. See [the\nlicense](https://github.com/iht/fpinscala/blob/master/LICENSE) for\nmore details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiht%2Ffpinscala","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiht%2Ffpinscala","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiht%2Ffpinscala/lists"}