{"id":20509956,"url":"https://github.com/deamondev/scala-with-cats-solutions","last_synced_at":"2026-05-30T22:32:14.807Z","repository":{"id":133416418,"uuid":"399565583","full_name":"DeamonDev/scala-with-cats-solutions","owner":"DeamonDev","description":"My solutions to exercises from \"Scala with cats\". Sometimes I attach the code from the book to provide the broader context. ","archived":false,"fork":false,"pushed_at":"2021-09-10T09:37:41.000Z","size":1624,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T22:30:34.553Z","etag":null,"topics":["cats","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/DeamonDev.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":"2021-08-24T18:23:19.000Z","updated_at":"2023-05-06T14:43:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ee9853a-bb47-4015-bb22-4c194d8dc6e8","html_url":"https://github.com/DeamonDev/scala-with-cats-solutions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DeamonDev/scala-with-cats-solutions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeamonDev%2Fscala-with-cats-solutions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeamonDev%2Fscala-with-cats-solutions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeamonDev%2Fscala-with-cats-solutions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeamonDev%2Fscala-with-cats-solutions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeamonDev","download_url":"https://codeload.github.com/DeamonDev/scala-with-cats-solutions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeamonDev%2Fscala-with-cats-solutions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33712579,"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-30T02:00:06.278Z","response_time":92,"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":["cats","scala"],"created_at":"2024-11-15T20:27:12.350Z","updated_at":"2026-05-30T22:32:14.782Z","avatar_url":"https://github.com/DeamonDev.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solutions to the exercises \n\nSometimes I attach some code snippets from the book to present solutions with broader perspective. \n\n# Scala with Cats Code\n\nSandbox project for the exercises in the book [Scala with Cats][book].\nBased on the [cats-seed.g8][cats-seed] template by [Underscore][underscore].\n\nCopyright Anonymous Aardvark. Licensed [CC0 1.0][license].\n\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)][gitter]\n\n## Getting Started\n\nYou will need to have Git, Java 8, and [SBT][sbt] installed.\nYou will also need an internet connection to run the exercises.\nAll other dependencies are either included with the repo\nor downloaded on demand during compilation.\n\nStart SBT using the `sbt` command to enter SBT's *interactive mode*\n(`\u003e` prompt):\n\n```bash\n$ sbt\n[info] Loading global plugins from \u003cDIRECTORY\u003e\n[info] Loading project definition from \u003cDIRECTORY\u003e\n[info] Set current project to \u003cPROJECT_NAME\u003e\n\n\u003e\n```\n\nFrom the SBT prompt you can run the code in `Main.scala`:\n\n```bash\n\u003e run\n[info] Updating {file:\u003cDIRECTORY\u003e}cats-sandbox...\n[info] Resolving jline#jline;2.14.4 ...\n[info] Done updating.\n[info] Compiling 1 Scala source to \u003cDIRECTORY\u003e...\n[info] Running sandbox.Main\nHello Cats!\n[success]\n```\n\nYou can also start a *Scala console* (`scala\u003e` prompt)\nto play with small snippets of code:\n\n```bash\n\u003e console\n[info] Starting scala interpreter...\n[info]\nWelcome to Scala 2.12.3 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_112).\nType in expressions for evaluation. Or try :help.\n\nscala\u003e import cats._, cats.implicits._, cats.data._\nimport cats._\nimport cats.implicits._\nimport cats.data._\n\nscala\u003e \"Hello \" |+| \"Cats!\"\nres0: String = Hello Cats!\n\nscala\u003e\n```\n\nPress `Ctrl+D` to quit the Scala console\nand return to SBT interactive mode.\n\nPress `Ctrl+D` again to quit SBT interactive mode\nand return to your shell.\n\n### Notes on Editors and IDEs\n\nIf you don't have a particular preference for a Scala editor or IDE,\nwe strongly recommend you do the exercises for this course using\nthe [Atom][atom] editor and a Linux or OS X terminal.\nSee the instructions below to get started.\n\nIf you want to use [Scala IDE][scala-ide] for Eclipse,\nwe recommend using [sbteclipse][sbteclipse].\nFollow the instructions on the `sbteclipse` web page\nto install it as a global SBT plugin.\n\nIf you want to use IntelliJ IDEA,\nfollow the instructions for [Importing an SBT Project][intellij-setup]\nin the IntelliJ online documentation.\n\n### Asking Questions\n\nIf you want to discuss the content or exercises with the authors,\njoin us in our chat room on [Gitter][gitter].\n\n[cats-seed]: https://github.com/underscoreio/cats-seed.g8\n[underscore]: https://underscore.io\n[book]: https://underscore.io/books/advanced-scala\n[license]: https://creativecommons.org/publicdomain/zero/1.0/\n[sbt]: http://scala-sbt.org\n[gitter]: https://gitter.im/underscoreio/scala?utm_source=essential-scala-readme\u0026utm_medium=badge\u0026utm_campaign=essential-scala\n[atom]: https://atom.io\n[scala-ide]: http://scala-ide.org\n[sbteclipse]: https://github.com/typesafehub/sbteclipse\n[intellij-idea]: https://www.jetbrains.com/idea\n[intellij-setup]: https://www.jetbrains.com/help/idea/2016.1/getting-started-with-sbt.html#import_project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeamondev%2Fscala-with-cats-solutions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeamondev%2Fscala-with-cats-solutions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeamondev%2Fscala-with-cats-solutions/lists"}