41 lines
921 B
Markdown
41 lines
921 B
Markdown
|
+++
|
||
|
title = "Scala"
|
||
|
description = "Learning Scala"
|
||
|
date = 2022-06-09T14:45:57-0700
|
||
|
updated = 2022-06-09T14:45:57-0700
|
||
|
template = "section.html"
|
||
|
sort_by = "weight"
|
||
|
weight = 6
|
||
|
draft = false
|
||
|
[taxonomies]
|
||
|
documentation=["Reference"]
|
||
|
categories=["Scala", "Coursier", "Work-Related"]
|
||
|
+++
|
||
|
|
||
|
[Scala](https://scala-long.org) is a programming language. It has strong
|
||
|
typing, but is built on top of the JVM, so it has access to all of the JVM's
|
||
|
libraries.
|
||
|
|
||
|
## Installing
|
||
|
|
||
|
The easiest way to install Scala is to install
|
||
|
[Coursier](https://get-coursier.io/docs/overview), the Scala "artifact manager."
|
||
|
It installs versions of the Scala language, toolset, and even specific versions
|
||
|
of the JVM. Coursier is installed with a CURL command and, when that is
|
||
|
complete, your Scala environment can be initialized with
|
||
|
|
||
|
```shell
|
||
|
$ cs setup
|
||
|
```
|
||
|
|
||
|
## Emacs Tools
|
||
|
|
||
|
So far, I've installed:
|
||
|
|
||
|
- lsp-metal
|
||
|
- scala-mode
|
||
|
- sbt-mode
|
||
|
|
||
|
## Hello World
|
||
|
|