Giter Site home page Giter Site logo

fp-scala's Introduction

My solutions to the exercises from the book Functional Programming in Scala, 2nd edition.

Official GitHub repo: https://github.com/fpinscala/fpinscala

Syllabus

Part 1: Introduction to functional programming

  1. What is functional programming?

  2. Getting started with functional programming in Scala

  3. Functional data structures

  4. Handling errors without exception

  5. Strictness and laziness

  6. Purely functional state

Part 3: Common structures in functional design

  1. Monoids

  2. Monads

  3. Applicative and traversable functors

Executing a main method

./millw <module>.runMain --mainClass <fully-qualified main class>

Executing tests

./.github/run.sh <chapter>

VSCode

  • Open command palette: Ctrl + Shift + P

  • Open another window: File > New Window > Open Recent/Open Folder

  • To disable preview mode (don't replace current tab):

    • From command palette: Preferences: Open User Settings

    • Add "workbench.editor.enablePreview": false to settings.json and save it.

  • To see the methods in a file: Cmd + Shift + P

  • To search a file by name: Cmd + P

Mill

Install a BSP connection file:

mill mill.bsp.BSP/install

Then open VSCode command palette, and select Metals: Switch build server.

fp-scala's People

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.