Giter Site home page Giter Site logo

smourapina / visual-scala-reference Goto Github PK

View Code? Open in Web Editor NEW

This project forked from superruzafa/visual-scala-reference

0.0 2.0 0.0 10.88 MB

Visual Scala Reference

Home Page: https://superruzafa.github.io/visual-scala-reference

Makefile 1.89% PHP 1.27% TeX 90.28% CSS 2.97% HTML 3.60%

visual-scala-reference's Introduction

Visual Scala Reference

An awesome guide to the most common Scala collection functions

https://superruzafa.github.io/visual-scala-reference

What this guide is intended for

This guide is intended to help newcomers (but not only them) who are learning the Scala collection system (or functional programming in general) by compiling an exhaustive list of Scala's most common visual and conceptual functions.

As an example of what you'll find, below are depicted three of the most well known Scala collection functions:

map filter foldLeft

How to build from source

The only thing you must have installed in your computer is Docker. All the build process is done within a container.

Once you have Docker installed you just have to type the following command from your computer:

make

This will create the Docker container and launch the internal dev.mk Makefile in order to boot the build process.

Once the build finishes the output files should have been created in the docs directory.

Other useful Makefile targets

By issuing make dev you'll enter the container where the build happens.

make server starts a HTTP server listen on the port 8080. You can visualize in real-time the modifications you do for the .tex and other files without manually have to rebuild the target files.

Example: if you are editing the src/images/map.tex file you can watch the changes automatically by browsing this URL: http://localhost:8080/images/map.svg

make touch sets the modification timestamp for all images to the one from src/images/_style.tex. The styles file is a prerequisite for all the images and a change on it, no matter how small, would cause all images to be regenerated. This is a quick fix that prevent this behavior.

make watch watches for changes in the src subdirectory and launch the build process.

Translations

English is the default language for this guide. If you want to translate it to another language please send me a pull request.

The translatable files are stored in the data subdirectories.

visual-scala-reference's People

Contributors

superruzafa avatar

Watchers

James Cloos 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.