Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scala-exercises/exercises-monocle
Scala Exercises for the Scala Optics library Monocle http://julien-truffaut.github.io/Monocle/
https://github.com/scala-exercises/exercises-monocle
functional-programming immutable-datastructures lenses optics tutorial
Last synced: 8 days ago
JSON representation
Scala Exercises for the Scala Optics library Monocle http://julien-truffaut.github.io/Monocle/
- Host: GitHub
- URL: https://github.com/scala-exercises/exercises-monocle
- Owner: scala-exercises
- License: apache-2.0
- Created: 2017-03-01T11:20:37.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-03-31T05:39:59.000Z (over 1 year ago)
- Last Synced: 2024-04-21T03:16:16.385Z (7 months ago)
- Topics: functional-programming, immutable-datastructures, lenses, optics, tutorial
- Language: Scala
- Size: 268 KB
- Stars: 11
- Watchers: 14
- Forks: 14
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Authors: AUTHORS.md
Awesome Lists containing this project
README
# Scala Exercises - Monocle
This repository hosts a template content library for the [Scala Exercises](https://www.scala-exercises.org/) platform, including interactive exercises related to the [Monocle](https://github.com/julien-truffaut/Monocle) optics library for Scala (and [Scala.js](https://www.scala-js.org/)).
------------------------
## Run Locally
- Clone this repository, compile and publish the project:
~~~ sh
git clone [email protected]:scala-exercises/exercises-monocle.git
cd exercises-monocle/
sbt compile publishLocal # it is important to first run the `compile` command alone
~~~- Clone the `evaluator` and run it:
~~~ sh
git clone [email protected]:scala-exercises/evaluator.git
cd evaluator/
sbt "project evaluator-server" run
~~~- Clone the `scala-exercises` fork:
~~~ sh
git clone [email protected]:scala-exercises/scala-exercises.git
~~~- Follow the database setup instructions given
[here](https://github.com/scala-exercises/scala-exercises#configure-the-database)- Add the following line the `server/conf/application.dev.conf`:
~~~
evaluator.secretKey="secretKey"
~~~- Run the server:
~~~ sh
sbt -mem 1500 run
~~~## About Scala exercises
"Scala Exercises" brings exercises for the Stdlib, Cats, Shapeless and many other great libraries for Scala to your browser. Offering hundreds of solvable exercises organized into several categories covering the basics of the Scala language and it's most important libraries.
Scala Exercises is available at [scala-exercises.org](https://scala-exercises.org).
## Contributing
Contributions welcome! Please join our [Gitter channel](https://gitter.im/scala-exercises/scala-exercises)
to get involved, or visit our [GitHub site](https://github.com/scala-exercises).## License
Copyright (C) 2015-2016 47 Degrees, LLC.
Reactive, scalable software solutions.
http://47deg.com
[email protected]Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.