Coder Social home page Coder Social logo

scala-labs / scala-labs Goto Github PK

View Code? Open in Web Editor NEW
286.0 286.0 166.0 5.83 MB

A collection of hands-on programming exercises aimed at teaching you to program in Scala

Scala 56.90% Shell 0.23% Java 0.90% CSS 25.72% JavaScript 11.23% Batchfile 0.11% HTML 4.91%

scala-labs's Introduction

This is the top level project for the Scala ITR. It will contain all the exercises and the test suite.

How to run test

Tests can be run from within labs directory like this: sbt "testOnly org.scalalabs.basic.lab01.HelloWorldExerciseTest"

Note: We recommend to use sbt interactively instead of starting sbt each time you want to run a test. See Running the sbt shell

scala-labs's People

Contributors

agemooij avatar agolubev avatar andrewwalsh avatar arjanblokzijl avatar hierynomus avatar jeroenr avatar jvermeir avatar kretes avatar raboof avatar rayroestenburg avatar sgrijpink avatar upeter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scala-labs's Issues

How to run Scala Tests

I've figured out that to install sbt it was as simple as a brew install sbt.

I go into the terminal, run sbt and I'm where I should be.

I run test and I get 23 failing tests. How do I run a specific test? How do I get just the HelloWorldExercise.scala running?

Misleading method name

In basic/lab01, HelloWorldClassAndObject.echo is a misleading name since it does not echo back the argument as echo did before (in fact, it doesn't even have an arg). getMyText or similar would be better.

Issue with Exercise 4 Lab 001 Scala

Provide an implicit class that adds a *(euro:Euro) method to Int

  • - Create a new currency Dollar
  • - Provide a implicit conversion method that converts from Euro to Dollar using the
  • [[org.scalalabs.basic.lab01.DefaultCurrencyConverter]]

I would have expected to see an implicit declaration for the converter in the currency converter, but I am not experienced enough with Scala to know whether or not that will fix my issue.

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.