{"id":20136154,"url":"https://github.com/zkfmapf123/books_-functional_programming_with_scala","last_synced_at":"2026-06-08T11:04:18.673Z","repository":{"id":115887698,"uuid":"568434376","full_name":"zkfmapf123/books_-Functional_Programming_with_Scala","owner":"zkfmapf123","description":"스칼라로 배우는 함수형 프로그래밍 (use Typescript)","archived":false,"fork":false,"pushed_at":"2023-03-11T11:39:47.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T23:44:03.921Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/zkfmapf123.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":"2022-11-20T14:24:24.000Z","updated_at":"2022-11-24T11:55:07.000Z","dependencies_parsed_at":"2023-06-07T22:53:26.777Z","dependency_job_id":null,"html_url":"https://github.com/zkfmapf123/books_-Functional_Programming_with_Scala","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zkfmapf123/books_-Functional_Programming_with_Scala","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fbooks_-Functional_Programming_with_Scala","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fbooks_-Functional_Programming_with_Scala/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fbooks_-Functional_Programming_with_Scala/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fbooks_-Functional_Programming_with_Scala/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zkfmapf123","download_url":"https://codeload.github.com/zkfmapf123/books_-Functional_Programming_with_Scala/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fbooks_-Functional_Programming_with_Scala/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34059182,"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-06-08T02:00:07.615Z","response_time":111,"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":[],"created_at":"2024-11-13T21:18:00.923Z","updated_at":"2026-06-08T11:04:18.653Z","avatar_url":"https://github.com/zkfmapf123.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 스칼라로 배우는 함수형 프로그래밍 (use Typescript)\n\n## Desc\n\n- 스칼라로 배우는 함수형프로그래밍 책을 읽으며 Typescript로 작성을 해보자..\n\n## Keyword\n\n- 부수효과\n  - 값을 반환하는 메서드나 함수가 외부상태를 변경하는 경우를 부수효과라 한다\n  - 결과적으로 부수효과가 생기게 되면 -\u003e 추론이 어려워진다 -\u003e 테스트하기가 어렵다.\n- 순수함수\n\n  ```scala\n\n      val x = new StringBuilder(\"Hello\")\n      val y = x.append(\", World\")\n\n      var s1 = y.toString\n      var s2 = y.toString\n      // s1 == s2\n\n      val x = new StringBuilder(\"Hello\")\n\n      val s1 = x.append(\", World\")     // Hello, World\n      val s2 = x.append(\", World\")     // Hello, World, World\n      // StringBuilder는 순수함수가 아님\n  ```\n\n- 예외를 사용하지 않는 오류 처리\n  - 예외를 던지는 것도 하나의 부수효과\n  - 오류라는 것을 함수 형태로 관리..\n\n## Type\n\n\u003e Option\n\n- 성공과 실패를 나누고 싶을 때, 실패의 이유는 나중에 처리...\n- [Option](#type/option.ts)\n\n\u003e Either\n\n- Left(실패), Right(성공)으로 구분\n- [Either](#type/either.ts)\n\n## Ref\n\n- 알라딘에서 14,000원 주고 삼...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkfmapf123%2Fbooks_-functional_programming_with_scala","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzkfmapf123%2Fbooks_-functional_programming_with_scala","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkfmapf123%2Fbooks_-functional_programming_with_scala/lists"}